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>
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)
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
getState
public Cog getState()
- Specified by:
getState in interface Coggable- Overrides:
getState in class StreamingDataRecordSource
setState
public void setState(Cog newState)
- Specified by:
setState in interface Coggable- Overrides:
setState in class StreamingDataRecordSource
copyStateFrom
protected void copyStateFrom(java.lang.Object nother)
- Overrides:
copyStateFrom in class StreamingDataRecordSource
getFields
public java.util.ArrayList getFields()
setFields
public void setFields(java.util.ArrayList newFields)
getWorkSheet
public java.lang.String getWorkSheet()
setWorkSheet
public void setWorkSheet(java.lang.String newName)