public final class RDFStreams extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
BYTE_PER_STATEMENT |
static RDFStream |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static long |
estimatedCount(Iterable<RDFStream> theStreams) |
static RDFStreamBuilder |
forFile(Path theFile) |
static RDFStreamBuilder |
forFiles(Collection<Path> theFiles) |
static RDFStreamBuilder |
forFiles(Path... theFiles) |
static String |
formatParseException(RDFStream theStream,
Exception theError) |
static RDFStream |
forStatements(Iterable<org.openrdf.model.Statement> theStatements,
org.openrdf.model.Resource theContext) |
static RDFStream |
forStatements(Iterator<org.openrdf.model.Statement> theStatements,
org.openrdf.model.Resource theContext) |
static RDFStreamBuilder |
forStream(InputStream theStream) |
static boolean |
hasContext(Iterable<RDFStream> theStreams) |
static long |
length(Iterable<RDFStream> theStreams) |
static org.openrdf.model.Model |
parse(List<RDFStream> theStreams) |
static void |
parse(List<RDFStream> theStreams,
org.openrdf.rio.RDFHandler theHandler) |
public static long BYTE_PER_STATEMENT
public static final RDFStream EMPTY
public static RDFStreamBuilder forFile(Path theFile)
public static RDFStreamBuilder forFiles(Path... theFiles)
public static RDFStreamBuilder forFiles(Collection<Path> theFiles)
public static RDFStreamBuilder forStream(InputStream theStream)
public static RDFStream forStatements(Iterable<org.openrdf.model.Statement> theStatements, org.openrdf.model.Resource theContext)
public static RDFStream forStatements(Iterator<org.openrdf.model.Statement> theStatements, org.openrdf.model.Resource theContext)
public static String formatParseException(RDFStream theStream, Exception theError)
public static void parse(List<RDFStream> theStreams, org.openrdf.rio.RDFHandler theHandler) throws org.openrdf.rio.RDFParseException, IOException, org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFParseExceptionIOExceptionorg.openrdf.rio.RDFHandlerExceptionpublic static org.openrdf.model.Model parse(List<RDFStream> theStreams) throws org.openrdf.rio.RDFParseException, IOException, org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFParseExceptionIOExceptionorg.openrdf.rio.RDFHandlerExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.