| Constructor and Description |
|---|
OSMInputFile(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
complete() |
ReaderElement |
getNext() |
int |
getUnprocessedElements() |
boolean |
isEOF() |
OSMInputFile |
open() |
void |
process(ReaderElement item) |
OSMInputFile |
setWorkerThreads(int num)
Currently on for pbf format.
|
public OSMInputFile(File file) throws IOException
IOExceptionpublic OSMInputFile open() throws XMLStreamException
XMLStreamExceptionpublic OSMInputFile setWorkerThreads(int num)
public ReaderElement getNext() throws XMLStreamException
getNext in interface OSMInputXMLStreamExceptionpublic boolean isEOF()
public void close()
throws IOException
close in interface AutoCloseableIOExceptionpublic void process(ReaderElement item)
public int getUnprocessedElements()
getUnprocessedElements in interface OSMInputCopyright © 2012–2020. All rights reserved.