public final class RDFStreamBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
List<RDFStream> |
build() |
RDFStreamBuilder |
config(org.openrdf.rio.ParserConfig theConfig) |
RDFStreamBuilder |
context(org.openrdf.model.Resource theContext) |
RDFStreamBuilder |
contexts(Function<Path,org.openrdf.model.Resource> theContexts) |
RDFStreamBuilder |
format(org.openrdf.rio.RDFFormat theFormat) |
RDFStreamBuilder |
ignoreFileErrors(boolean theIgnoreFileErrors) |
void |
parse(org.openrdf.rio.RDFHandler theHandler)
Parses all the streams with the given handler.
|
<T extends Collection<org.openrdf.model.Statement>> |
parseInto(T theCollection)
Parses the contents of all the streams into the given collection.
|
RDFStreamBuilder |
reporter(PrintStream theReporter) |
public RDFStreamBuilder format(org.openrdf.rio.RDFFormat theFormat)
public RDFStreamBuilder config(org.openrdf.rio.ParserConfig theConfig)
public RDFStreamBuilder context(org.openrdf.model.Resource theContext)
public RDFStreamBuilder contexts(Function<Path,org.openrdf.model.Resource> theContexts)
public RDFStreamBuilder reporter(PrintStream theReporter)
public RDFStreamBuilder ignoreFileErrors(boolean theIgnoreFileErrors)
public void parse(org.openrdf.rio.RDFHandler theHandler)
throws org.openrdf.rio.RDFParseException,
org.openrdf.rio.RDFHandlerException,
IOException
org.openrdf.rio.RDFParseExceptionorg.openrdf.rio.RDFHandlerExceptionIOExceptionpublic <T extends Collection<org.openrdf.model.Statement>> T parseInto(T theCollection) throws org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFParseExceptionorg.openrdf.rio.RDFHandlerExceptionIOExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.