public class OsmServerUserInfoReader extends OsmServerReader
OsmServerReader.CompressiongpxParsedProperlyactiveConnection, 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, setDoAuthenticateaddAuth, addBasicAuthorizationHeader, addOAuthAuthorizationHeader, cancel, isCanceledpublic 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
OsmServerReaderparseOsm in class OsmServerReaderprogressMonitor - The progress monitorOsmTransferException - if any error occurspublic UserInfo fetchUserInfo(ProgressMonitor monitor) throws OsmTransferException
OsmTransferException