public class CountingOsmOutputStream extends Objectimplements OsmOutputStream
| Constructor and Description |
|---|
CountingOsmOutputStream(OsmOutputStream
|
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
|
long |
getNumNodes()
|
long |
getNumRelations()
|
long |
getNumWays()
|
void |
write(OsmBounds
|
void |
write(OsmNode
|
void |
write(OsmRelation
|
void |
write(OsmWay
|
public CountingOsmOutputStream(OsmOutputStreamoutput)
public long getNumNodes()
public long getNumWays()
public long getNumRelations()
public void write(OsmBoundsbounds) throws IOException
write in interface
OsmOutputStream
IOException
public void write(OsmNodenode) throws IOException
write in interface
OsmOutputStream
IOException
public void write(OsmWayway) throws IOException
write in interface
OsmOutputStream
IOException
public void write(OsmRelationrelation) throws IOException
write in interface
OsmOutputStream
IOException
public void complete()
throws IOException
complete in interface
OsmOutputStream
IOException