Class JSONParser

    • Constructor Detail

      • JSONParser

        public JSONParser()
    • Method Detail

      • initParser

        public void initParser()
                        throws java.lang.Exception
        Description copied from class: ParserImpl
        Perform initialization of parser.
        Specified by:
        initParser in interface ParserInterface
        Overrides:
        initParser in class ParserImpl
        Throws:
        java.lang.Exception - if an error occurs.
      • readEntry

        public Entry readEntry()
                        throws java.lang.Exception
        Description copied from interface: ParserInterface
        Return the next entry from the current input stream.
        Returns:
        The next entry from the input stream
        Throws:
        java.lang.Exception
      • writeEntry

        public void writeEntry​(Entry entry)
                        throws java.lang.Exception
        Description copied from interface: ParserInterface
        Write an entry to the current output stream.
        Parameters:
        entry - The entry to write
        Throws:
        java.lang.Exception - if an error occurs.
      • getVersion

        public java.lang.String getVersion()
        Description copied from interface: VersionInfoInterface
        Version information.
        Returns:
        version information
      • closeParser

        public void closeParser()
                         throws java.lang.Exception
        Description copied from class: ParserImpl
        Close parser and deallocate resources. This method closes the input and output streams.
        Specified by:
        closeParser in interface ParserInterface
        Overrides:
        closeParser in class ParserImpl
        Throws:
        java.lang.Exception - if an error occurs.