public class GraphmlRepositoryImpl extends Object implements GraphmlRepository
| Modifier and Type | Field and Description |
|---|---|
protected static String |
GRAPH_CFG_FILE_PREFIX |
protected static String |
GRAPH_LOCATION |
protected static String |
LABEL |
protected static String |
TOPOLOGY_CFG_FILE_PREFIX |
protected static String |
TOPOLOGY_LOCATION |
| Constructor and Description |
|---|
GraphmlRepositoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
buildCfgFilepath(String filename,
String cfgFilePrefix) |
protected static String |
buildGraphCfgFilepath(String filename) |
protected static String |
buildGraphmlFilepath(String filename) |
protected static String |
buildTopologyCfgFilepath(String filename) |
void |
delete(String name) |
boolean |
exists(String name) |
GraphmlType |
findByName(String name) |
void |
save(String name,
String label,
GraphmlType graphmlType) |
protected static final String TOPOLOGY_CFG_FILE_PREFIX
protected static final String GRAPH_CFG_FILE_PREFIX
protected static final String TOPOLOGY_LOCATION
protected static final String GRAPH_LOCATION
protected static final String LABEL
public GraphmlType findByName(String name) throws IOException
findByName in interface GraphmlRepositoryIOExceptionpublic void save(String name, String label, GraphmlType graphmlType) throws IOException
save in interface GraphmlRepositoryIOExceptionpublic void delete(String name) throws IOException
delete in interface GraphmlRepositoryIOExceptionpublic boolean exists(String name)
exists in interface GraphmlRepositoryCopyright © 2022. All rights reserved.