Package com.stardog.stark.io
Class RDFByteSource
- java.lang.Object
-
- com.google.common.io.ByteSource
-
- com.stardog.stark.io.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 sourcestatic RDFByteSource
create(com.google.common.io.ByteSource theSource, RDFFormat theFormat)
Deprecated.abstract RDFFormat
format()
Deprecated.Return the RDF format used by the sourcevoid
parse(RDFHandler theHandler, Options theOptions)
Deprecated.Parse the RDF denoted by this source
-
-
-
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 datatheOptions
- 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.
-
-