Class BinaryRDFParser

java.lang.Object
com.stardog.stark.io.binary.BinaryRDFParser
All Implemented Interfaces:
BinaryRDFConstants, RDFParser

public final class BinaryRDFParser extends Object implements RDFParser, BinaryRDFConstants

Since:
1.0
Version:
6.1.2
Author:
Jeen Broekstra, Michael Grove
  • Constructor Details

    • BinaryRDFParser

      public BinaryRDFParser()
  • Method Details

    • 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 InputStream theStream, @Nonnull RDFHandler theHandler, @Nonnull Options theOptions) throws IOException
      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:
      IOException - if there was an error while reading from the stream