org.openstreetmap.josm.io
Class OsmHistoryReader

java.lang.Object
  extended by org.openstreetmap.josm.io.OsmHistoryReader

public class OsmHistoryReader
extends java.lang.Object

Parser for OSM history data. It is slightly different from OsmReader because we don't build an internal graph of OsmPrimitives. We use objects derived from HistoryOsmPrimitive instead and we keep the data in a dedicated HistoryDataSet.


Nested Class Summary
private  class OsmHistoryReader.Parser
           
 
Field Summary
private  HistoryDataSet data
           
private  java.io.InputStream in
           
 
Constructor Summary
OsmHistoryReader(java.io.InputStream source)
           
 
Method Summary
 HistoryDataSet parse(ProgressMonitor progressMonitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

private final java.io.InputStream in

data

private final HistoryDataSet data
Constructor Detail

OsmHistoryReader

public OsmHistoryReader(java.io.InputStream source)
Method Detail

parse

public HistoryDataSet parse(ProgressMonitor progressMonitor)
                     throws org.xml.sax.SAXException,
                            java.io.IOException
Throws:
org.xml.sax.SAXException
java.io.IOException


JOSM