public interface StringGraphs
| Modifier and Type | Method and Description |
|---|---|
void |
constructStringGraph(URI uri,
StringGraphConstructing constructing)
Reads (
StringGraph-defining) data from the given uri and
calls the corresponding methods of the StringGraphConstructing
object to construct a StringGraph. |
StringGraphBuilder |
createStringGraphBuilder() |
StringGraphDump |
createStringGraphDump(StringGraph graph)
Creates a
StringGraphDump for the given graph. |
StringGraphDump |
createStringGraphDump(StringGraph graph,
Function<String,String> idOrLabelToText)
Creates a
StringGraphDump for the given graph, using the
idOrLabelToText function to translate the ids of Nodes
and labels of Edges before dumping. |
static StringGraphs |
getInstance() |
StringGraph |
readStringGraph(URI uri)
Reads the
stringGraph from the give uri and returns it. |
void |
writeStringGraph(StringGraph stringGraph,
URI uri)
Writes the
stringGraph to the give uri. |
static StringGraphs getInstance()
StringGraphBuilder createStringGraphBuilder()
void writeStringGraph(StringGraph stringGraph, URI uri)
stringGraph to the give uri.StringGraph readStringGraph(URI uri)
stringGraph from the give uri and returns it.void constructStringGraph(URI uri, StringGraphConstructing constructing)
StringGraph-defining) data from the given uri and
calls the corresponding methods of the StringGraphConstructing
object to construct a StringGraph.
The same StringGraphConstructing object may be used with different URIs, e.g. to create a "merged" StringGraph.
uri - The URI to read from, formerly used with a
writeStringGraph(StringGraph, URI) call to write a StringGraphconstructing - a StringGraphConstructing instance used to
construct a StringGraph from the data read from the uriStringGraphDump createStringGraphDump(StringGraph graph, Function<String,String> idOrLabelToText)
StringGraphDump for the given graph, using the
idOrLabelToText function to translate the ids of Nodes
and labels of Edges before dumping.StringGraphDump createStringGraphDump(StringGraph graph)
StringGraphDump for the given graph.Copyright © 2023 abego Software GmbH, Germany. All rights reserved.