public class OsmCountCallback extends AbstractExecutableSingleInputStream implements OsmHandler
closeInput, osmStream, pathInput
inputFormat, readMetadata, readTags
line, options
Constructor and Description |
---|
OsmCountCallback() |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
protected String |
getHelpMessage() |
void |
handle(OsmBounds bounds) |
void |
handle(OsmNode node) |
void |
handle(OsmRelation relation) |
void |
handle(OsmWay way) |
static void |
main(String[] args) |
createIterator, createReader, finish, init, setup
protected String getHelpMessage()
getHelpMessage
in class AbstractExecutable
public static void main(String[] args) throws IOException
IOException
public void handle(OsmBounds bounds) throws IOException
handle
in interface OsmHandler
IOException
public void handle(OsmNode node) throws IOException
handle
in interface OsmHandler
IOException
public void handle(OsmWay way) throws IOException
handle
in interface OsmHandler
IOException
public void handle(OsmRelation relation) throws IOException
handle
in interface OsmHandler
IOException
public void complete() throws IOException
complete
in interface OsmHandler
IOException