com.partnersoft.io.formats.misc
Class ExcelDataRecordSource
java.lang.Object
com.partnersoft.data.DataRecordSource
com.partnersoft.io.formats.StreamingDataRecordSource
com.partnersoft.io.formats.misc.ExcelDataRecordSource
- All Implemented Interfaces:
- Coggable, java.io.Serializable, java.lang.Iterable<Naming<java.lang.Object>>
public class ExcelDataRecordSource
- extends StreamingDataRecordSource
- implements java.io.Serializable
A source for data records, pulled from a Microsoft Excel spreadsheet file.
- Author:
- Paul Reavis Copyright 2006 Partner Software, Inc.
- See Also:
- Serialized Form
| Methods inherited from class com.partnersoft.data.DataRecordSource |
clone, close, getAfterActions, getBeforeActions, getShowProgress, getTransforms, isVerbose, iterator, setAfterActions, setBeforeActions, setShowProgress, setTransforms, setVerbose |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExcelDataRecordSource
public ExcelDataRecordSource()
ExcelDataRecordSource
public ExcelDataRecordSource(java.lang.String path)
ExcelDataRecordSource
public ExcelDataRecordSource(java.io.File filet)
ExcelDataRecordSource
public ExcelDataRecordSource(Cog newState)
main
public static void main(java.lang.String[] argv)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
createFetcher
public DataRecordFetcher createFetcher()
- Description copied from class:
DataRecordSource
- Creates a new fetcher to gather data for a new iteration.
- Specified by:
createFetcher in class DataRecordSource
toCog
public Cog toCog()
- Description copied from interface:
Coggable
- Returns the complete internal state of this object in the form of a
Cog.
- Specified by:
toCog in interface Coggable- Overrides:
toCog in class StreamingDataRecordSource
- Returns:
- Cog representing the internal state of this object
copyStateFrom
protected void copyStateFrom(java.lang.Object nother)
- Overrides:
copyStateFrom in class StreamingDataRecordSource
getFields
public java.util.List getFields()
setFields
public void setFields(java.util.List newFields)
getWorkSheet
public java.lang.String getWorkSheet()
setWorkSheet
public void setWorkSheet(java.lang.String newName)