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.Factory
routerId
- Id of the router.public boolean save(String routerId, InputStream is)
GraphSource.Factory
save
in interface GraphSource.Factory
routerId
- the routerId of the graphis
- graph data as input streamCopyright © 2019. All rights reserved.