|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.config.Configurator
Class for reading and writing configuration files. The GISToolkit configuration files are XML files that describe what to use to generate a map.
Constructor Summary | |
Configurator()
Creates new Configurator |
Method Summary | |
java.lang.String |
getLineEnd()
Set the line end string to use in writing the XML file. |
static Node |
getXML(java.lang.String inLocation)
Read an XML document from the given location, and parse it into a node tree |
static void |
print(Node inNode)
Print the contents of a node to the standard output stream |
static void |
readConfig(GISDisplay inDisplay,
java.lang.String inFileName)
Set up the GISDisplay with the given configuration file |
static void |
readConfig(Server inServer,
java.lang.String inFileName)
Set up the Server with the given configuration file. |
static Node |
readConfig(java.lang.String inFileName)
Reads configuration information from the given file. |
static void |
writeConfig(GISDisplay inDisplay,
java.lang.String inFileName)
Write the configuration file for the GISDisplay |
static void |
writeConfig(Node inNode,
java.lang.String inFileName)
Write the configuration file for the GISServer |
static void |
writeConfig(Server inServer,
java.lang.String inFileName)
Write the configuration file for the GISServer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Configurator()
Method Detail |
public java.lang.String getLineEnd()
public static void writeConfig(GISDisplay inDisplay, java.lang.String inFileName) throws java.lang.Exception
java.lang.Exception
public static void readConfig(GISDisplay inDisplay, java.lang.String inFileName) throws java.lang.Exception
java.lang.Exception
public static void writeConfig(Server inServer, java.lang.String inFileName) throws java.lang.Exception
java.lang.Exception
public static void readConfig(Server inServer, java.lang.String inFileName) throws java.lang.Exception
java.lang.Exception
public static void writeConfig(Node inNode, java.lang.String inFileName) throws java.lang.Exception
java.lang.Exception
public static Node readConfig(java.lang.String inFileName) throws java.lang.Exception
java.lang.Exception
public static void print(Node inNode)
public static Node getXML(java.lang.String inLocation) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |