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 GraphmlRepository
IOException
public void save(String name, String label, GraphmlType graphmlType) throws IOException
save
in interface GraphmlRepository
IOException
public void delete(String name) throws IOException
delete
in interface GraphmlRepository
IOException
public boolean exists(String name)
exists
in interface GraphmlRepository
Copyright © 2021. All rights reserved.