|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.io.OsmConnection
org.openstreetmap.josm.io.OsmServerReader
org.openstreetmap.josm.io.OsmServerHistoryReader
public class OsmServerHistoryReader
Reads the history of an OsmPrimitive
from the OSM API server.
Field Summary | |
---|---|
private long |
id
|
private OsmPrimitiveType |
primitiveType
|
Fields inherited from class org.openstreetmap.josm.io.OsmConnection |
---|
activeConnection, cancel, oauthParameters |
Constructor Summary | |
---|---|
OsmServerHistoryReader(OsmPrimitiveType type,
long id)
constructor |
Method Summary | |
---|---|
HistoryDataSet |
parseHistory(ProgressMonitor progressMonitor)
Fetches the history from the OSM API and parses it |
DataSet |
parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented! |
Methods inherited from class org.openstreetmap.josm.io.OsmServerReader |
---|
getBaseUrl, getInputStream, getInputStreamRaw, isDoAuthenticate, parseOsmBzip2, parseOsmChange, parseOsmChangeBzip2, parseOsmChangeGzip, parseOsmGzip, parseRawGps, setDoAuthenticate |
Methods inherited from class org.openstreetmap.josm.io.OsmConnection |
---|
addAuth, addBasicAuthorizationHeader, addOAuthAuthorizationHeader, cancel, isCanceled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private OsmPrimitiveType primitiveType
private long id
Constructor Detail |
---|
public OsmServerHistoryReader(OsmPrimitiveType type, long id) throws java.lang.IllegalArgumentException
type
- the type of the primitive whose history is to be fetched from the server.
Must not be null.id
- the id of the primitive
java.lang.IllegalArgumentException
- thrown, if type is nullMethod Detail |
---|
public DataSet parseOsm(ProgressMonitor progressMonitor) throws OsmTransferException
parseOsm
in class OsmServerReader
OsmTransferException
public HistoryDataSet parseHistory(ProgressMonitor progressMonitor) throws OsmTransferException
OsmTransferException
- thrown, if an exception occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |