Package com.stardog.stark.io
package com.stardog.stark.io
Core APIs for reading and writing RDF data
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
ClassDescriptionBase implementation of an
RDFHandlerwhich provides no-op implementations for all of the methods except handling ofstatementsSimpleRDFHandlerthat will collect thestatementsand return a result.Class to represent the format of serialized RDF that is also compressedAn interface defining methods related to verification and normalization of typed literals and datatype IRIs.Represents the format of a file or stream, such as XML or JSON.Default implementation ofFileFormatRDFHandlerbase implementation that will decorate a base handlerRDFWriterbase for decorating another writerException thrown when aLiteralencountered during parsing is syntactically correct, but otherwise invalid.Exception thrown whenparsingan RDF file and the contents are not syntactically valid RDF.Extended parser state that wraps the stream to be parsed to provide common IO operations for most of the basic text RDF formats.An interface defining methods related to verification and normalization of language tags.Batch of consecutive lines read from a stream.A utility class that reads lines from a stream in one thread and supplies the output asbatchesfor multiple threads to consume.ExtendsIOParserContextto read the input from aLineSupplierinstead of an input stream.Object to hold the current state of the parsing operation, parsing configuration, andValuecreation.Options forRDF parsing.Represents the serialization used for RDF.Marker interface for anRDFFormatwhose serialization is binary rather than textual.Utilities forRDFFormatInterface for consuming RDFException denoting something unexpected happened in anRDFHandlerUtility methods for working withRDFHandlerAn RDF Parser.Utilities for working withRDFParserA writer to serializeRDF statementsin a particular RDF format.Factory interface for creating instances of theRDFWriterUtility methods for working withRDFWriterWrite builder forRDFWriterSupportedFileFormats<T extends FileFormat>Utility class to keep a list offormatsthat are supported by an application.RDFHandlerthat will transform staements before passing them to a delegateExtendedTrigParserwhich includes support for embedded rules.Options to control theRDF writing processIndicates that there was an unexpected failure whilewriting