public class ClusterDefinitionStore extends Object
| Constructor and Description |
|---|
ClusterDefinitionStore(String filePath)
Creates a reader/writer of the cluster definition file.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterDefinition |
read()
Returns the cluster definition.
|
void |
write(ClusterDefinition definition)
Writes the specified cluster definition to file.
|
public ClusterDefinitionStore(String filePath)
filePath - location of the definition filepublic ClusterDefinition read() throws IOException
IOException - when I/O exception of some sort has occurredpublic void write(ClusterDefinition definition) throws IOException
definition - cluster definitionIOException - when I/O exception of some sort has occurredCopyright © 2015. All rights reserved.