public class OsnReader extends Object implements RecordIterator
| Constructor and Description |
|---|
OsnReader(RecordDefinitionFactory recordDefinitionFactory,
File directory,
String fileName,
int srid) |
OsnReader(RecordDefinitionFactory recordDefinitionFactory,
ZipFile zipFile,
String fileName,
int srid) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the connection to the record store.
|
RecordFactory |
getFactory() |
String |
getFileName() |
RecordDefinitionFactory |
getRecordDefinitionFactory() |
boolean |
hasNext() |
Record |
next() |
void |
open() |
void |
remove() |
void |
setFactory(RecordFactory factory) |
String |
toString() |
public OsnReader(RecordDefinitionFactory recordDefinitionFactory, File directory, String fileName, int srid) throws IOException
IOExceptionpublic OsnReader(RecordDefinitionFactory recordDefinitionFactory, ZipFile zipFile, String fileName, int srid) throws IOException
IOExceptionpublic void close()
RecordIteratorclose in interface RecordIteratorclose in interface AutoCloseablepublic RecordFactory getFactory()
public String getFileName()
public RecordDefinitionFactory getRecordDefinitionFactory()
public Record next()
next in interface RecordIteratornext in interface Iterator<Record>public void open()
open in interface RecordIteratorpublic void setFactory(RecordFactory factory)
factory - the factory to setpublic String toString()
toString in interface RecordIteratortoString in class ObjectCopyright © 2015 Revolution Systems Inc.. All rights reserved.