# 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

- Related Packages
  Package
  Description
  com.stardog.stark
  Core concepts of the RDF 1.1 model
  com.stardog.stark.io.binary
  com.stardog.stark.io.datatypes
  com.stardog.stark.io.jsonld
  com.stardog.stark.io.language
  com.stardog.stark.io.n3
  com.stardog.stark.io.nquads
  com.stardog.stark.io.ntriples
  com.stardog.stark.io.rdfjson
  com.stardog.stark.io.rdfxml
  com.stardog.stark.io.trig
  com.stardog.stark.io.turtle
  Implementation of reading and writing Turtle encoded RDF.
- Class
  Description
  AbstractRDFHandler
  Base implementation of an `RDFHandler` which provides no-op implementations for all of the methods except handling of `statements`
  CollectingRDFHandler<T>
  Simple `RDFHandler` that will collect the `statements` and return a result.
  CompressedRDFFormat
  Class to represent the format of serialized RDF that is also compressed
  DatatypeHandler
  An interface defining methods related to verification and normalization of typed literals and datatype IRIs.
  DelegatingRDFHandler
  FileFormat
  Represents the format of a file or stream, such as XML or JSON.
  FileFormat.Compression
  FileFormatImpl
  Default implementation of `FileFormat`
  ForwardingRDFHandler
  `RDFHandler` base implementation that will decorate a base handler
  ForwardingRDFWriter
  `RDFWriter` base for decorating another writer
  InvalidLiteral
  Exception thrown when a `Literal` encountered during parsing is syntactically correct, but otherwise invalid.
  InvalidRDF
  Exception thrown when `parsing` an RDF file and the contents are not syntactically valid RDF.
  IOParserContext
  Extended parser state that wraps the stream to be parsed to provide common IO operations for most of the basic text RDF formats.
  LanguageHandler
  An interface defining methods related to verification and normalization of language tags.
  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 as `batches` for multiple threads to consume.
  LineSupplier.InputStreamSupplier
  LineSupplierParserContext
  Extends `IOParserContext` to read the input from a `LineSupplier` instead of an input stream.
  ParserContext
  Object to hold the current state of the parsing operation, parsing configuration, and `Value` creation.
  ParserContext.ParseError
  ParserOptions
  Options for `RDF parsing`.
  RDFFormat
  Represents the serialization used for RDF.
  RDFFormat.BinaryRDFFormat
  Marker interface for an `RDFFormat` whose serialization is binary rather than textual.
  RDFFormats
  Utilities for `RDFFormat`
  RDFHandler
  Interface for consuming RDF
  RDFHandlerException
  Exception denoting something unexpected happened in an `RDFHandler`
  RDFHandlers
  Utility methods for working with `RDFHandler`
  RDFHandlers.DefaultRDFHandler
  RDFHandlers.GraphBuilder
  RDFParser
  An RDF Parser.
  RDFParsers
  Utilities for working with `RDFParser`
  RDFWriter
  A writer to serialize `RDF statements` in a particular RDF format.
  RDFWriterFactory
  Factory interface for creating instances of the `RDFWriter`
  RDFWriters
  Utility methods for working with `RDFWriter`
  RDFWriters.RDFWriterConfig
  Write builder for `RDFWriter`
  SupportedFileFormats<T extends FileFormat>
  Utility class to keep a list of `formats` that are supported by an application.
  TransformingRDFHandler
  `RDFHandler` that will transform staements before passing them to a delegate
  TrigParserWithRules
  Extended `TrigParser` which includes support for embedded rules.
  WriterOptions
  Options to control the `RDF writing process`
  WritingFailed
  Indicates that there was an unexpected failure while `writing`