public class OsmIdReaderAdapter extends Object implements OsmIdReader, OsmHandler
Constructor and Description |
---|
OsmIdReaderAdapter(OsmReader reader) |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
void |
handle(OsmBounds bounds) |
void |
handle(OsmNode node) |
void |
handle(OsmRelation relation) |
void |
handle(OsmWay way) |
void |
read() |
void |
setIdHandler(OsmIdHandler handler) |
public OsmIdReaderAdapter(OsmReader reader)
public void setIdHandler(OsmIdHandler handler)
setIdHandler
in interface OsmIdReader
public void read() throws OsmInputException
read
in interface OsmIdReader
OsmInputException
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