net.bpelunit.framework.control.datasource.ods
Class OdsDataSource

java.lang.Object
  extended by net.bpelunit.framework.control.datasource.ods.OdsDataSource
All Implemented Interfaces:
IDataSource

public class OdsDataSource
extends Object
implements IDataSource

A data source for accessing Open Document Spreadsheet (ODS) compliant files (OpenOffice.org, KOffice, etc.). ODS is an official ISO standard, developed in an open manner and implemented in several office productivity products.

Author:
Daniel Luebke

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.bpelunit.framework.control.ext.IDataSource
IDataSource.ConfigurationOption, IDataSource.DataSource
 
Constructor Summary
OdsDataSource()
           
 
Method Summary
 void close()
           
 String[] getFieldNames()
           
 int getNumberOfRows()
           
 String getValueFor(String fieldName)
           
 void loadFromStream(InputStream data)
           
 void setRow(int index)
           
 void setSheet(String index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OdsDataSource

public OdsDataSource()
Method Detail

setSheet

public void setSheet(String index)

close

public void close()
Specified by:
close in interface IDataSource

getFieldNames

public String[] getFieldNames()
Specified by:
getFieldNames in interface IDataSource

getValueFor

public String getValueFor(String fieldName)
Specified by:
getValueFor in interface IDataSource

setRow

public void setRow(int index)
            throws DataSourceException
Specified by:
setRow in interface IDataSource
Throws:
DataSourceException

loadFromStream

public void loadFromStream(InputStream data)
                    throws DataSourceException
Specified by:
loadFromStream in interface IDataSource
Throws:
DataSourceException

getNumberOfRows

public int getNumberOfRows()
Specified by:
getNumberOfRows in interface IDataSource


Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.