com.partnersoft.io.formats
Class StreamingDataRecordSource
java.lang.Object
com.partnersoft.data.DataRecordSource
com.partnersoft.io.formats.StreamingDataRecordSource
- All Implemented Interfaces:
- Coggable, java.lang.Iterable<Naming>
- Direct Known Subclasses:
- BinaryFixedWidthDataRecordSource, CSVDataRecordSource, DBFDataRecordSource, ExcelDataRecordSource, SQLDataRecordSource
public abstract class StreamingDataRecordSource
- extends DataRecordSource
Abstract superclass for DataRecordSources that return results from
some sort of file or URL stream.
- Author:
- Paul Reavis
Copyright 2001 Partner Software, Inc.
| Methods inherited from class com.partnersoft.data.DataRecordSource |
clone, createFetcher, getAfterActions, getBeforeActions, getShowProgress, getTransforms, isVerbose, iterator, setAfterActions, setBeforeActions, setShowProgress, setTransforms, setVerbose |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamingDataRecordSource
public StreamingDataRecordSource()
createInputStream
public java.io.InputStream createInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getState
public Cog getState()
- Specified by:
getState in interface Coggable- Overrides:
getState in class DataRecordSource
setState
public void setState(Cog newState)
- Specified by:
setState in interface Coggable- Overrides:
setState in class DataRecordSource
getPath
public java.lang.String getPath()
setPath
public void setPath(java.lang.String newPath)
getPaths
public java.util.ArrayList getPaths()
setPaths
public void setPaths(java.util.ArrayList newPaths)
setInputStream
public void setInputStream(java.io.InputStream innie)
copyStateFrom
protected void copyStateFrom(java.lang.Object nother)
- Overrides:
copyStateFrom in class DataRecordSource