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