|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.report.v0_5.EntityReporter
public class EntityReporter
An OSM data sink that analyses the data sent to it and provides a simple report.
Constructor Summary | |
---|---|
EntityReporter(java.io.File file)
Creates a new instance. |
Method Summary | |
---|---|
void |
complete()
Flushes all changes to file. |
void |
process(EntityContainer entityContainer)
Process the entity. |
void |
release()
Cleans up any open file handles. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityReporter(java.io.File file)
file
- The file to write.Method Detail |
---|
public void process(EntityContainer entityContainer)
process
in interface Sink
entityContainer
- The entity to be processed.public void complete()
complete
in interface Completable
public void release()
release
in interface Releasable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |