public class OsmServerUserInfoReader extends OsmServerReader
OsmServerReader.Compression
gpxParsedProperly
activeConnection, cancel, oauthParameters
Constructor and Description |
---|
OsmServerUserInfoReader()
Constructs a new
OsmServerUserInfoReader . |
Modifier and Type | Method and Description |
---|---|
static UserInfo |
buildFromXML(Document document)
Parses the given XML data and returns the associated user info.
|
UserInfo |
fetchUserInfo(ProgressMonitor monitor) |
protected static String |
getAttribute(Node node,
String name) |
DataSet |
parseOsm(ProgressMonitor progressMonitor)
Download OSM files from somewhere
|
getBaseUrl, getInputStream, getInputStreamRaw, isDoAuthenticate, isGpxParsedProperly, parseOsmBzip2, parseOsmChange, parseOsmChangeBzip2, parseOsmChangeGzip, parseOsmGzip, parseRawGps, parseRawGpsBzip2, setDoAuthenticate
addAuth, addBasicAuthorizationHeader, addOAuthAuthorizationHeader, cancel, isCanceled
public OsmServerUserInfoReader()
OsmServerUserInfoReader
.protected static String getAttribute(Node node, String name)
public static UserInfo buildFromXML(Document document) throws OsmDataParsingException
document
- The XML contentsOsmDataParsingException
- if parsing goes wrongpublic DataSet parseOsm(ProgressMonitor progressMonitor) throws OsmTransferException
OsmServerReader
parseOsm
in class OsmServerReader
progressMonitor
- The progress monitorOsmTransferException
- if any error occurspublic UserInfo fetchUserInfo(ProgressMonitor monitor) throws OsmTransferException
OsmTransferException