Class RDFByteSource

  • Direct Known Subclasses:
    RDFFileSupplier

    @Deprecated
    public abstract class RDFByteSource
    extends com.google.common.io.ByteSource
    Deprecated.

    Extends the Guava ByteSource for RDF files

    Since:
    1.0
    Version:
    1.0
    Author:
    Michael Grove
    • Constructor Summary

      Constructors 
      Constructor Description
      RDFByteSource()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String baseIRI()
      Deprecated.
      Return the base iri that should be used when parsing this source
      static RDFByteSource create​(com.google.common.io.ByteSource theSource, RDFFormat theFormat)
      Deprecated.
       
      abstract RDFFormat format()
      Deprecated.
      Return the RDF format used by the source
      void parse​(RDFHandler theHandler, Options theOptions)
      Deprecated.
      Parse the RDF denoted by this source
      • Methods inherited from class com.google.common.io.ByteSource

        asCharSource, concat, concat, concat, contentEquals, copyTo, copyTo, empty, hash, isEmpty, openBufferedStream, openStream, read, read, size, sizeIfKnown, slice, wrap
      • Methods inherited from class java.lang.Object

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

      • RDFByteSource

        public RDFByteSource()
        Deprecated.
    • Method Detail

      • format

        public abstract RDFFormat format()
        Deprecated.
        Return the RDF format used by the source
        Returns:
        the format
      • parse

        public void parse​(RDFHandler theHandler,
                          Options theOptions)
        Deprecated.
        Parse the RDF denoted by this source
        Parameters:
        theHandler - the consumer of the parsed data
        theOptions - the options for parsing
        Throws:
        java.io.UncheckedIOException - if there was an error reading from the source
      • baseIRI

        public java.lang.String baseIRI()
        Deprecated.
        Return the base iri that should be used when parsing this source
        Returns:
        the base
      • create

        public static RDFByteSource create​(com.google.common.io.ByteSource theSource,
                                           RDFFormat theFormat)
        Deprecated.