public class PoiWriterTask
extends java.lang.Object
implements org.openstreetmap.osmosis.core.task.v0_6.Sink
| Constructor and Description |
|---|
PoiWriterTask(PoiWriterConfiguration configuration,
ProgressManager progressManager)
Writes all entities that can be mapped to a specific category and which category is in a
given whitelist to a SQLite database.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
complete() |
void |
initialize(java.util.Map<java.lang.String,java.lang.Object> metadata) |
void |
process(org.openstreetmap.osmosis.core.container.v0_6.EntityContainer entityContainer) |
public PoiWriterTask(PoiWriterConfiguration configuration, ProgressManager progressManager)
configuration - Configuration for the POI writer.progressManager - Object that sends progress messages to a GUI.public void close()
close in interface java.lang.AutoCloseableclose in interface org.openstreetmap.osmosis.core.lifecycle.Closeablepublic void complete()
complete in interface org.openstreetmap.osmosis.core.lifecycle.Completablepublic void initialize(java.util.Map<java.lang.String,java.lang.Object> metadata)
initialize in interface org.openstreetmap.osmosis.core.task.v0_6.Initializablepublic void process(org.openstreetmap.osmosis.core.container.v0_6.EntityContainer entityContainer)
process in interface org.openstreetmap.osmosis.core.task.v0_6.Sink