net.bpelunit.framework.control.datasource.ods
Class OdsDataSource
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OdsDataSource
public OdsDataSource()
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 © 2012 Leibniz Universität Hannover. All Rights Reserved.