public class OsmServerHistoryReader extends OsmServerReader
OsmPrimitive from the OSM API server.| Modifier and Type | Field and Description |
|---|---|
private long |
id |
private OsmPrimitiveType |
primitiveType |
gpxParsedProperlyactiveConnection, cancel, oauthParameters| Constructor and Description |
|---|
OsmServerHistoryReader(OsmPrimitiveType type,
long id)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
HistoryDataSet |
parseHistory(ProgressMonitor progressMonitor)
Fetches the history from the OSM API and parses it
|
DataSet |
parseOsm(ProgressMonitor progressMonitor)
don't use - not implemented!
|
getBaseUrl, getInputStream, getInputStream, getInputStreamRaw, getInputStreamRaw, getInputStreamRaw, isDoAuthenticate, isGpxParsedProperly, parseNotes, parseOsmBzip2, parseOsmChange, parseOsmChangeBzip2, parseOsmChangeGzip, parseOsmGzip, parseOsmZip, parseRawGps, parseRawGpsBzip2, parseRawNotes, parseRawNotesBzip2, setDoAuthenticateaddAuth, addBasicAuthorizationHeader, addOAuthAuthorizationHeader, cancel, isCanceledprivate OsmPrimitiveType primitiveType
private long id
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 primitivejava.lang.IllegalArgumentException - thrown, if type is nullpublic DataSet parseOsm(ProgressMonitor progressMonitor) throws OsmTransferException
parseOsm in class OsmServerReaderprogressMonitor - The progress monitorOsmTransferException - if any error occurspublic HistoryDataSet parseHistory(ProgressMonitor progressMonitor) throws OsmTransferException
OsmTransferException - thrown, if an exception occurs