|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.misc.v0_5.NullChangeWriter
public class NullChangeWriter
An OSM change sink that discards all data sent to it. This is primarily intended for benchmarking purposes.
| Constructor Summary | |
|---|---|
NullChangeWriter()
|
|
| Method Summary | |
|---|---|
void |
complete()
Flushes all changes to file. |
void |
process(ChangeContainer change)
Process the change. |
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 NullChangeWriter()
| Method Detail |
|---|
public void process(ChangeContainer change)
process in interface ChangeSinkchange - The change 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 | ||||||||