Class OsmHistoryReader

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private HistoryDataSet data  
      private java.io.InputStream in  
    • Constructor Summary

      Constructors 
      Constructor Description
      OsmHistoryReader​(java.io.InputStream source)
      Constructs a new OsmHistoryReader.
    • Constructor Detail

      • OsmHistoryReader

        public OsmHistoryReader​(java.io.InputStream source)
        Constructs a new OsmHistoryReader.
        Parameters:
        source - the input stream with the history content as XML document. Must not be null.
        Throws:
        java.lang.IllegalArgumentException - if source is null.
    • Method Detail

      • parse

        public HistoryDataSet parse​(ProgressMonitor progressMonitor)
                             throws org.xml.sax.SAXException,
                                    java.io.IOException
        Parses the content.
        Parameters:
        progressMonitor - the progress monitor. Set to NullProgressMonitor.INSTANCE if null
        Returns:
        the parsed data
        Throws:
        org.xml.sax.SAXException - If any SAX errors occur during processing.
        java.io.IOException - If any IO errors occur.