Package com.stardog.stark.io
Core APIs for reading and writing RDF data
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Interface Summary Interface Description DatatypeHandler An interface defining methods related to verification and normalization of typed literals and datatype IRIs.FileFormat Represents the format of a file or stream, such as XML or JSON.LanguageHandler An interface defining methods related to verification and normalization of language tags.LineSupplier.InputStreamSupplier RDFFormat Represents the serialization used for RDF.RDFFormat.BinaryRDFFormat Marker interface for anRDFFormat
whose serialization is binary rather than textual.RDFHandler Interface for consuming RDFRDFParser An RDF Parser.RDFWriter A writer to serializeRDF statements
in a particular RDF format.RDFWriterFactory Factory interface for creating instances of theRDFWriter
-
Class Summary Class Description AbstractRDFHandler Base implementation of anRDFHandler
which provides no-op implementations for all of the methods except handling ofstatements
CollectingRDFHandler<T> SimpleRDFHandler
that will collect thestatements
and return a result.CompressedRDFFormat Class to represent the format of serialized RDF that is also compressedDelegatingRDFHandler FileFormatImpl Default implementation ofFileFormat
ForwardingRDFHandler RDFHandler
base implementation that will decorate a base handlerForwardingRDFWriter RDFWriter
base for decorating another writerIOParserContext Extended parser state that wraps the stream to be parsed to provide common IO operations for most of the basic text RDF formats.LineBatch Batch of consecutive lines read from a stream.LineSupplier A utility class that reads lines from a stream in one thread and supplies the output asbatches
for multiple threads to consume.LineSupplierParserContext ExtendsIOParserContext
to read the input from aLineSupplier
instead of an input stream.ParserContext Object to hold the current state of the parsing operation, parsing configuration, andValue
creation.ParserOptions Options forRDF parsing
.RDFByteSource Deprecated. RDFFormats Utilities forRDFFormat
RDFHandlers Utility methods for working withRDFHandler
RDFHandlers.DefaultRDFHandler RDFHandlers.GraphBuilder RDFParsers Utilities for working withRDFParser
RDFWriters Utility methods for working withRDFWriter
RDFWriters.RDFWriterConfig Write builder forRDFWriter
SupportedFileFormats<T extends FileFormat> Utility class to keep a list offormats
that are supported by an application.TransformingRDFHandler RDFHandler
that will transform staements before passing them to a delegateTrigParserWithRules ExtendedTrigParser
which includes support for embedded rules.WriterOptions Options to control theRDF writing process
-
Enum Summary Enum Description FileFormat.Compression ParserContext.ParseError -
Exception Summary Exception Description InvalidLiteral Exception thrown when aLiteral
encountered during parsing is syntactically correct, but otherwise invalid.InvalidRDF Exception thrown whenparsing
an RDF file and the contents are not syntactically valid RDF.RDFHandlerException Exception denoting something unexpected happened in anRDFHandler
WritingFailed Indicates that there was an unexpected failure whilewriting