Package org.openstreetmap.josm.io

Interface Summary
OsmServerReadPostprocessor  
OsmServerWritePostprocessor  
 

Class Summary
AbstractReader Abstract Reader, allowing other implementations than OsmReader (PbfReader in PBF plugin for example)
AllFormatsImporter Dummy importer that adds the "All Formats"-Filter when opening files
BoundingBoxDownloader  
CacheCustomContent<T extends Throwable> Use this class if you want to cache and store a single file that gets updated regularly.
CacheFiles Use this class if you want to cache a lot of files that shouldn't be kept in memory.
Capabilities Represents the server capabilities Example capabilites document: This class is used in conjunction with a very primitive parser and simply stuffs the each tag and its attributes into a hash of hashes, with the exception of the "blacklist" tag which gets a list of its own.
ChangesetQuery  
ChangesetQuery.ChangesetQueryUrlParser  
DefaultProxySelector This is the default proxy selector used in JOSM.
DiffResultProcessor  
DiffResultProcessor.DiffResultEntry  
FileExporter  
FileImporter  
GeoJSONExporter  
GeoJSONWriter  
GpxExporter  
GpxImporter  
GpxImporter.GpxImporterData  
GpxReader Read a gpx file.
GpxWriter Writes GPX files from GPX data or OSM data.
JpgImporter File importer allowing to import geottaged images (*.jpg files).
MirroredInputStream Mirrors a file to a local file.
MultiFetchServerObjectReader Retrieves a set of OsmPrimitives from an OSM server using the so called Multi Fetch API.
MultiFetchServerObjectReader.Fetcher The class that actually download data from OSM API.
MultiFetchServerObjectReader.FetchResult The class holding the results given by MultiFetchServerObjectReader.Fetcher.
NMEAImporter  
NmeaReader Read a nmea file.
NmeaReader.NMEAParserState  
OsmApi Class that encapsulates the communications with the OSM API.

All interaction with the server-side OSM API should go through this class.

It is conceivable to extract this into an interface later and create various classes implementing the interface, to be able to talk to various kinds of servers.
OsmBzip2Exporter  
OsmBzip2Importer  
OsmChangeBuilder Creates an OsmChange document from JOSM edits.
OsmChangeImporter  
OsmChangeReader  
OsmChangesetContentParser Parser for OSM changeset content.
OsmChangesetParser Parser for a list of changesets, encapsulated in an OSM data set structure.
OsmConnection Base class that handles common things like authentication for the reader and writer to the osm server.
OsmExporter  
OsmGzipExporter  
OsmGzipImporter  
OsmHistoryReader Parser for OSM history data.
OsmImporter  
OsmImporter.OsmImporterData  
OsmReader Parser for the Osm Api.
OsmServerBackreferenceReader OsmServerBackreferenceReader fetches the primitives from the OSM server which refer to a specific primitive.
OsmServerChangesetReader Reads the history of an OsmPrimitive from the OSM API server.
OsmServerHistoryReader Reads the history of an OsmPrimitive from the OSM API server.
OsmServerLocationReader  
OsmServerObjectReader OsmServerObjectReader reads an individual object from the OSM server.
OsmServerReader This DataReader reads directly from the REST API of the osm server.
OsmServerUserInfoReader  
OsmServerWriter Class that uploads all changes to the osm server.
OsmWriter Save the dataset into a stream as osm intern xml format.
OsmWriterFactory This factory is called by everyone who needs an OsmWriter object, instead of directly calling the OsmWriter constructor.
ProgressInputStream Read from an other reader and increment an progress counter while on the way.
UTFInputStreamReader Detects the different UTF encodings from byte order mark
WMSLayerExporter Export a WMS layer to a serialized binary file that can be imported later via WMSLayerImporter.
WMSLayerImporter Import a WMS layer from a serialized binary file previously exported via WMSLayerExporter.
XmlWriter Helper class to use for xml outputting classes.
 

Enum Summary
ChangesetClosedException.Source  
GpxReader.State  
NmeaReader.GPGGA  
NmeaReader.GPGSA  
NmeaReader.GPRMC  
NmeaReader.GPVTG  
NmeaReader.NMEA_TYPE Handler for the different types that NMEA speaks.
 

Exception Summary
ChangesetClosedException A ChangesetClosedException is thrown if the server replies with a HTTP return code 409 (Conflict) with the error header ChangesetClosedException.ERROR_HEADER_PATTERN.
ChangesetQuery.ChangesetQueryUrlException  
IllegalDataException  
MissingOAuthAccessTokenException  
OsmApiException Exception thrown when a communication error occurs when accessing the OSM API.
OsmApiInitializationException Exception thrown when a communication error occured with the OSM server during API initialization.
OsmApiPrimitiveGoneException Represents an exception thrown by the OSM API if JOSM tries to update or delete a primitive which is already deleted on the server.
OsmDataParsingException  
OsmReader.OsmParsingException  
OsmTransferCanceledException Exception thrown when a communication with the OSM server has been cancelled by the user.
OsmTransferException Exception thrown when a communication error with the OSM server occurs.
 



JOSM