|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.customdb.v0_5.ReadDataset
public class ReadDataset
An OSM dataset source exposing read-only access to a custom DB database.
Constructor Summary | |
---|---|
ReadDataset(java.io.File directory,
boolean enableWayTileIndex)
Creates a new instance. |
Method Summary | |
---|---|
void |
run()
|
void |
setDatasetSink(DatasetSink datasetSink)
Sets the dataset 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 ReadDataset(java.io.File directory, boolean enableWayTileIndex)
directory
- The directory to store all data files in.enableWayTileIndex
- If true a tile index is created for ways, otherwise a node-way
index is used.Method Detail |
---|
public void setDatasetSink(DatasetSink datasetSink)
setDatasetSink
in interface DatasetSource
datasetSink
- The sink for receiving all produced data.public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |