public class FileSource extends java.lang.Object implements DataEntrySource
DataEntry
.Constructor and Description |
---|
FileSource(java.io.File file)
Creates a new FileSource.
|
FileSource(FileDataEntry fileDataEntry)
Creates a new FileSource.
|
FileSource(java.io.File directory,
java.io.File file)
Creates a new FileSource.
|
Modifier and Type | Method and Description |
---|---|
void |
pumpDataEntries(DataEntryReader dataEntryReader)
Applies the given DataEntryReader to all data entries that the implementation can provide.
|
public FileSource(java.io.File file)
file
- the the absolute or relative location of the file.public FileSource(java.io.File directory, java.io.File file)
directory
- the base directory for the file.file
- the the absolute or relative location of the file.public FileSource(FileDataEntry fileDataEntry)
fileDataEntry
- the file data entry.public void pumpDataEntries(DataEntryReader dataEntryReader) throws java.io.IOException
DataEntrySource
pumpDataEntries
in interface DataEntrySource
java.io.IOException