|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bretth.osmosis.core.xml.v0_5.XmlDownloader
public class XmlDownloader
* An OSM data source reading from an osm-xml file from the * OpenStreetMap-server. * * @author Marcus Wolschon
Constructor Summary | |
---|---|
XmlDownloader(double left,
double right,
double top,
double bottom,
java.lang.String baseUrl)
* Creates a new instance with the specified geographical coordinates. |
Method Summary | |
---|---|
void |
run()
* Reads all data from the server and send it to the Sink . |
void |
setSink(Sink aSink)
* 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 XmlDownloader(double left, double right, double top, double bottom, java.lang.String baseUrl)
Method Detail |
---|
public void setSink(Sink aSink)
setSink
in interface Source
aSink
- The sink for receiving all produced data.public void run()
Sink
.
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |