|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.tagremove.v0_6.TagRemover
public class TagRemover
Filters a set of tags from all entities. This allows unwanted tags to be removed from the data.
Constructor Summary | |
---|---|
TagRemover(java.lang.String keyList,
java.lang.String keyPrefixList)
Creates a new instance. |
Method Summary | |
---|---|
void |
complete()
Ensures that all information is fully persisted. |
void |
process(EntityContainer entityContainer)
Process the entity. |
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
void |
setSink(Sink sink)
Sets the osm sink to send data to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagRemover(java.lang.String keyList, java.lang.String keyPrefixList)
keyList
- Comma separated list of keys of tags to be removed.keyPrefixList
- Comma separated list of key prefixes of tags to be removed.Method Detail |
---|
public void setSink(Sink sink)
setSink
in interface Source
sink
- The sink for receiving all produced data.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 |