public abstract class AbstractGraphFactory extends Object implements GraphFactory
Constructor and Description |
---|
AbstractGraphFactory() |
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 |
parseGraph(String string)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
parseGraph(String string,
MimeType mimeType)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
parseGraph(String string,
String format,
Properties parameters)
Opens a graph and fills it with content in one of the serialization formats.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
openGraph
public Graph openGraph() throws IOException
GraphFactory
openGraph
in interface GraphFactory
IOException
public Graph loadGraph(File file) throws IOException, Xdi2ParseException
GraphFactory
loadGraph
in interface GraphFactory
IOException
Xdi2ParseException
public Graph loadGraph(Reader reader) throws IOException, Xdi2ParseException
GraphFactory
loadGraph
in interface GraphFactory
IOException
Xdi2ParseException
public Graph loadGraph(InputStream inputStream) throws IOException, Xdi2ParseException
GraphFactory
loadGraph
in interface GraphFactory
IOException
Xdi2ParseException
public Graph parseGraph(String string) throws IOException, Xdi2ParseException
GraphFactory
parseGraph
in interface GraphFactory
IOException
Xdi2ParseException
public Graph parseGraph(String string, String format, Properties parameters) throws IOException, Xdi2ParseException
GraphFactory
parseGraph
in interface GraphFactory
IOException
Xdi2ParseException
public Graph parseGraph(String string, MimeType mimeType) throws IOException, Xdi2ParseException
GraphFactory
parseGraph
in interface GraphFactory
IOException
Xdi2ParseException
Copyright © 2017. All rights reserved.