
public interface GraphFactory
| Modifier and Type | Method and Description |
|---|---|
Graph |
loadGraph(File file)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
loadGraph(InputStream inputStream)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
loadGraph(Reader reader)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
openGraph()
Opens a graph.
|
Graph |
openGraph(String identifier)
Opens a graph.
|
Graph |
parseGraph(String graph)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
parseGraph(String graph,
MimeType mimeType)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
parseGraph(String graph,
String format,
Properties parameters)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph openGraph() throws IOException
IOExceptionGraph openGraph(String identifier) throws IOException
identifier - An optional identifier to distinguish graphs from one another.IOExceptionGraph loadGraph(File file) throws IOException, Xdi2ParseException
IOExceptionXdi2ParseExceptionGraph loadGraph(Reader reader) throws IOException, Xdi2ParseException
IOExceptionXdi2ParseExceptionGraph loadGraph(InputStream inputStream) throws IOException, Xdi2ParseException
IOExceptionXdi2ParseExceptionGraph parseGraph(String graph) throws IOException, Xdi2ParseException
IOExceptionXdi2ParseExceptionGraph parseGraph(String graph, String format, Properties parameters) throws IOException, Xdi2ParseException
IOExceptionXdi2ParseExceptionGraph parseGraph(String graph, MimeType mimeType) throws IOException, Xdi2ParseException
IOExceptionXdi2ParseExceptionCopyright © 2017. All rights reserved.