public class RecordDirectoryReader extends AbstractDirectoryReader<Record> implements RecordDefinitionFactory
| Constructor and Description |
|---|
RecordDirectoryReader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRecordDefinition(RecordReader reader) |
protected Reader<Record> |
createReader(org.springframework.core.io.Resource resource)
Create a new
Reader to read the file. |
RecordDefinition |
getRecordDefinition(String path) |
Statistics |
getStatistics() |
Record |
next()
Get the next data object read by this reader.
|
void |
setStatistics(Statistics statistics) |
close, getBaseFileNames, getDirectory, getFileNameFilter, getFiles, hasNext, iterator, open, remove, setBaseFileNames, setDirectory, setFileExtensions, setFileExtensions, setFileNameFilterread, visitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakprotected void addRecordDefinition(RecordReader reader)
protected Reader<Record> createReader(org.springframework.core.io.Resource resource)
AbstractDirectoryReaderReader to read the file.createReader in class AbstractDirectoryReader<Record>resource - The file to read.public RecordDefinition getRecordDefinition(String path)
getRecordDefinition in interface RecordDefinitionFactorypublic Statistics getStatistics()
public Record next()
next in interface Iterator<Record>next in class AbstractDirectoryReader<Record>NoSuchElementException - If the reader has no more data objects.public void setStatistics(Statistics statistics)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.