public class CountingOsmOutputStream extends Object implements OsmOutputStream
Constructor and Description |
---|
CountingOsmOutputStream(OsmOutputStream output) |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
long |
getNumNodes() |
long |
getNumRelations() |
long |
getNumWays() |
void |
write(OsmBounds bounds) |
void |
write(OsmNode node) |
void |
write(OsmRelation relation) |
void |
write(OsmWay way) |
public CountingOsmOutputStream(OsmOutputStream output)
public long getNumNodes()
public long getNumWays()
public long getNumRelations()
public void write(OsmBounds bounds) throws IOException
write
in interface OsmOutputStream
IOException
public void write(OsmNode node) throws IOException
write
in interface OsmOutputStream
IOException
public void write(OsmWay way) throws IOException
write
in interface OsmOutputStream
IOException
public void write(OsmRelation relation) throws IOException
write
in interface OsmOutputStream
IOException
public void complete() throws IOException
complete
in interface OsmOutputStream
IOException