public static class InputStreamGraphSource.FileFactory extends Object implements GraphSource.Factory
| Constructor and Description |
|---|
FileFactory(File basePath) |
| Modifier and Type | Method and Description |
|---|---|
GraphSource |
createGraphSource(String routerId) |
boolean |
save(String routerId,
InputStream is)
Save the graph data, but don't load it in memory.
|
public File basePath
public FileFactory(File basePath)
public GraphSource createGraphSource(String routerId)
createGraphSource in interface GraphSource.FactoryrouterId - Id of the router.public boolean save(String routerId, InputStream is)
GraphSource.Factorysave in interface GraphSource.FactoryrouterId - the routerId of the graphis - graph data as input streamCopyright © 2020. All rights reserved.