public class ShapeWriter extends Object
| Constructor and Description |
|---|
ShapeWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
emitShape(Shape shape,
Graph graph) |
static void |
write(OutputStream out,
Shape... shapeList) |
void |
writeGeneratedShapes(NamespaceManager nsManager,
Collection<Shape> shapeList,
FileGetter fileGetter,
Set<org.openrdf.model.URI> activityWhitelist)
Write shapes that were generated by specific processes.
|
void |
writeShapes(Graph graph,
FileGetter fileGetter) |
void |
writeTurtle(NamespaceManager nsManager,
Shape shape,
File file) |
void |
writeTurtle(NamespaceManager nsManager,
Shape shape,
OutputStream out) |
void |
writeTurtle(NamespaceManager nsManager,
Shape shape,
Writer writer) |
void |
writeTurtle(Shape shape,
OutputStream out) |
public static void write(OutputStream out, Shape... shapeList) throws org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFHandlerExceptionIOExceptionpublic void writeTurtle(NamespaceManager nsManager, Shape shape, OutputStream out) throws org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFHandlerExceptionIOExceptionpublic void writeTurtle(Shape shape, OutputStream out) throws org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFHandlerExceptionIOExceptionpublic void writeTurtle(NamespaceManager nsManager, Shape shape, Writer writer) throws org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFHandlerExceptionIOExceptionpublic void writeTurtle(NamespaceManager nsManager, Shape shape, File file) throws org.openrdf.rio.RDFHandlerException, IOException
org.openrdf.rio.RDFHandlerExceptionIOExceptionpublic void writeGeneratedShapes(NamespaceManager nsManager, Collection<Shape> shapeList, FileGetter fileGetter, Set<org.openrdf.model.URI> activityWhitelist) throws org.openrdf.rio.RDFHandlerException, IOException
shapeList - The collection of shapes from which generated shapes will be selectedfileGetter - The FileGetter that provides the File to which any given Shape should be written.activityWhiteList - The specific processes for which shapes will be written.IOExceptionorg.openrdf.rio.RDFHandlerExceptionpublic void writeShapes(Graph graph, FileGetter fileGetter) throws IOException, ShapeWriteException
IOExceptionShapeWriteExceptionCopyright © 2019. All rights reserved.