com.partnersoft.v3x.io.formats.record
Class StreamingDataRecordSource

java.lang.Object
  extended by com.partnersoft.v3x.data.DataRecordSource
      extended by com.partnersoft.v3x.io.formats.record.StreamingDataRecordSource
Direct Known Subclasses:
BinaryFixedWidthDataRecordSource, CSVDataRecordSource, DBFDataRecordSource, ExcelDataRecordSource, FixedRecordDelimitedFieldDataRecordSource, SQLDataRecordSource, TablePrivilegeDataRecordSource

public abstract class StreamingDataRecordSource
extends DataRecordSource

Abstract superclass for DataRecordSources that return results from some sort of file or URL stream.


Field Summary
 
Fields inherited from class com.partnersoft.v3x.data.DataRecordSource
iteratorWrapper, mapWrapper, parameters, showProgress, verbose
 
Constructor Summary
StreamingDataRecordSource()
           
 
Method Summary
protected  void copyStateFrom(java.lang.Object nother)
           
 java.io.InputStream createInputStream()
           
 java.lang.String getPath()
           
 java.util.ArrayList getPaths()
           
 void setInputStream(java.io.InputStream innie)
           
 void setPath(java.lang.String newPath)
           
 void setPaths(java.util.ArrayList newPaths)
           
 
Methods inherited from class com.partnersoft.v3x.data.DataRecordSource
asIterator, asMap, clear, clone, close, containsKey, containsValue, entrySet, fieldNames, fieldValues, get, getAfterActions, getBeforeActions, getContentsMap, getParameters, getPosition, getShowProgress, getTransforms, getTransformScript, hasNext, initialize, initialize, isEmpty, isVerbose, keySet, next, nextRecord, put, putAll, remove, remove, reset, setAfterActions, setBeforeActions, setParameters, setShowProgress, setTransforms, setTransformScript, setVerbose, size, values
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamingDataRecordSource

public StreamingDataRecordSource()
Method Detail

createInputStream

public java.io.InputStream createInputStream()
                                      throws java.io.IOException
Throws:
java.io.IOException

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