| Constructor and Description |
|---|
WKBHexFileReader(File file,
WKBReader wkbReader)
Creates a new WKBHexFileReader given the File to read from
and a WKTReader to use to parse the geometries.
|
WKBHexFileReader(Reader reader,
WKBReader wkbReader)
Creates a new WKBHexFileReader, given a
Reader to read from. |
WKBHexFileReader(String filename,
WKBReader wkbReader)
Creates a new WKBHexFileReader, given the name of the file to read from.
|
public WKBHexFileReader(File file, WKBReader wkbReader)
file - the File to read fromwkbReader - the geometry reader to usepublic WKBHexFileReader(Reader reader, WKBReader wkbReader)
Reader to read from.reader - the reader to read fromwkbReader - the geometry reader to usepublic List read() throws IOException, ParseException
IOException - if an I/O exception was encounteredParseException - if an error occured reading a geometrypublic void setLimit(int limit)
limit - the maximum number of geometries to readpublic void setOffset(int offset)
offset - the number of geometries to skipCopyright © 2015 Revolution Systems Inc.. All rights reserved.