|
|||||||||
| 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.IntegrityReporter
public class IntegrityReporter
A sink that verifies the referential integrity of all data passing through it.
| Constructor Summary | |
|---|---|
IntegrityReporter(java.io.File file)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
complete()
Flushes all changes to file. |
protected void |
initialize()
Initialises the output file for writing. |
void |
process(BoundContainer bound)
Process the bound. |
void |
process(EntityContainer entityContainer)
Process the entity. |
void |
process(NodeContainer node)
Process the node. |
void |
process(RelationContainer relationContainer)
Process the relation. |
void |
process(WayContainer wayContainer)
Process the way. |
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 IntegrityReporter(java.io.File file)
file - The file to write.| Method Detail |
|---|
protected void initialize()
public void process(EntityContainer entityContainer)
process in interface SinkentityContainer - The entity to be processed.public void process(BoundContainer bound)
process in interface EntityProcessorbound - The bound to be processed.public void process(NodeContainer node)
process in interface EntityProcessornode - The node to be processed.public void process(WayContainer wayContainer)
process in interface EntityProcessorwayContainer - The way to be processed.public void process(RelationContainer relationContainer)
process in interface EntityProcessorrelationContainer - The relation to be processed.public void complete()
complete in interface Completablepublic void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||