public abstract class WrappedGraphFactory extends AbstractGraphFactory implements GraphFactory
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MIMETYPE |
static String |
DEFAULT_PATH |
Constructor and Description |
---|
WrappedGraphFactory() |
Modifier and Type | Method and Description |
---|---|
MemoryGraphFactory |
getMemoryGraphFactory() |
WrapperStore |
getWrapper() |
Graph |
openGraph(String identifier)
Opens a graph.
|
abstract WrapperStore |
openWrapper(String identifier)
This must be overridden by subclasses to instantiate the wrapper
|
void |
setMemoryGraphFactory(MemoryGraphFactory memoryGraphFactory) |
void |
setWrapper(WrapperStore wrapper) |
loadGraph, loadGraph, loadGraph, openGraph, parseGraph, parseGraph, parseGraph
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadGraph, loadGraph, loadGraph, openGraph, parseGraph, parseGraph, parseGraph
public static final String DEFAULT_PATH
public static final String DEFAULT_MIMETYPE
public Graph openGraph(String identifier) throws IOException
GraphFactory
openGraph
in interface GraphFactory
identifier
- An optional identifier to distinguish graphs from one another.IOException
public abstract WrapperStore openWrapper(String identifier) throws IOException
identifier
- An optional identifier to distinguish wrappers from one another.IOException
public WrapperStore getWrapper()
public void setWrapper(WrapperStore wrapper)
public MemoryGraphFactory getMemoryGraphFactory()
public void setMemoryGraphFactory(MemoryGraphFactory memoryGraphFactory)
Copyright © 2017. All rights reserved.