public class MoepBinaryReader extends AbstractReader<Record> implements RecordReader
| Constructor and Description |
|---|
MoepBinaryReader(MoepDirectoryReader moepDirectoryReader,
org.springframework.core.io.Resource resource,
RecordFactory factory)
Construct a new MoepBinaryReader.
|
MoepBinaryReader(URL url,
RecordFactory factory)
Construct a new MoepBinaryReader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the reader and all resources associated with it.
|
Map<String,Object> |
getProperties() |
RecordDefinition |
getRecordDefinition() |
Iterator |
iterator()
Get the iterator for the MOEP file.
|
void |
open()
Open the reader so that it is ready to be read from.
|
read, visitclearProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakpublic MoepBinaryReader(MoepDirectoryReader moepDirectoryReader, org.springframework.core.io.Resource resource, RecordFactory factory)
moepDirectoryReader - file - The the file.factory - The factory used to create Record instances.public MoepBinaryReader(URL url, RecordFactory factory)
url - The url to the file.factory - The factory used to create Record instances.public void close()
Readerclose in interface Reader<Record>close in interface AutoCloseableclose in class AbstractObjectWithPropertiespublic Map<String,Object> getProperties()
getProperties in interface ObjectWithPropertiesgetProperties in class AbstractObjectWithPropertiespublic RecordDefinition getRecordDefinition()
getRecordDefinition in interface RecordReaderpublic Iterator iterator()
Copyright © 2015 Revolution Systems Inc.. All rights reserved.