public class ClusterXML extends Object
Constructor and Description |
---|
ClusterXML() |
Modifier and Type | Method and Description |
---|---|
static boolean |
loadClusterFile(File file,
Cluster cluster,
List<Exception> nodeExceptions)
Configures a Cluster as determined by the given XML
file.
|
static String |
replaceProperties(String instring) |
static boolean |
saveToFile(Cluster cluster,
File file) |
public static boolean loadClusterFile(File file, Cluster cluster, List<Exception> nodeExceptions) throws ParserConfigurationException, SAXException, IOException
file
- an XML file containing a Cluster and ClusterNode configuration, as written
by saveClusterFilecluster
- a Cluster to configurenodeExceptions
- an Exception List, which will be populated with Exceptions for any
NodeParameters that cannot be formed correctly, may be null;ParserConfigurationException
SAXException
IOException
Copyright © 2015–2021 Fiji. All rights reserved.