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<java.lang.Object>>
- 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, close, 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()
StreamingDataRecordSource
public StreamingDataRecordSource(Cog newState)
createInputStream
public java.io.InputStream createInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
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 DataRecordSource
- Returns:
- Cog representing the internal state of this object
getPath
public java.lang.String getPath()
setPath
public void setPath(java.lang.String newPath)
getPaths
public java.util.List getPaths()
setPaths
public void setPaths(java.util.List newPaths)
setInputStream
public void setInputStream(java.io.InputStream innie)
copyStateFrom
protected void copyStateFrom(java.lang.Object nother)
- Overrides:
copyStateFrom in class DataRecordSource