Class JsonParser

    • Constructor Summary

      Constructors 
      Constructor Description
      JsonParser​(JsonHandler jsonHandler)
      Create a new JSONParser with the specified JSONHandler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void parse​(java.io.InputStream input, java.lang.String charSetName)  
      void parse​(java.io.Reader reader)  
      void parse​(java.lang.String str)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonParser

        public JsonParser​(JsonHandler jsonHandler)
        Create a new JSONParser with the specified JSONHandler.
        Parameters:
        jsonHandler - A JSONHandler
    • Method Detail

      • parse

        public void parse​(java.lang.String str)
                   throws java.io.IOException
        Parameters:
        str - String to be parsed
        Throws:
        java.io.IOException - If an error occurs.
      • parse

        public void parse​(java.io.InputStream input,
                          java.lang.String charSetName)
                   throws java.io.IOException
        Parameters:
        input - InputStream to be parsed.
        charSetName - Name of the charset to be used.
        Throws:
        java.io.IOException - If an error occurs.
      • parse

        public void parse​(java.io.Reader reader)
                   throws java.io.IOException
        Parameters:
        reader - The reader
        Throws:
        java.io.IOException - If an error occurs.