Class RDFJSONParser

  • All Implemented Interfaces:
    RDFParser

    public final class RDFJSONParser
    extends java.lang.Object
    implements RDFParser

    Since:
    1.0
    Version:
    1.0
    Author:
    Peter Ansell, Michael Grove
    • Constructor Summary

      Constructors 
      Constructor Description
      RDFJSONParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RDFFormat format()
      The format this parser can parse
      void parse​(java.io.InputStream theStream, RDFHandler theHandler, Options theOptions)
      Parse the content
      • Methods inherited from class java.lang.Object

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

      • RDFJSONParser

        public RDFJSONParser()
    • Method Detail

      • format

        @Nonnull
        public RDFFormat format()
        The format this parser can parse
        Specified by:
        format in interface RDFParser
        Returns:
        the format
      • parse

        public void parse​(@Nonnull
                          java.io.InputStream theStream,
                          @Nonnull
                          RDFHandler theHandler,
                          @Nonnull
                          Options theOptions)
                   throws java.io.IOException
        Description copied from interface: RDFParser
        Parse the content
        Specified by:
        parse in interface RDFParser
        Parameters:
        theStream - the stream to read from
        theHandler - the handler to pass parse events to
        theOptions - the parsing options
        Throws:
        java.io.IOException - if there was an error while reading from the stream