|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ikrs.yuccasrv.util.ConfigReader
public class ConfigReader
This XML reader was inspired by http://www.java-tips.org/java-se-tips/javax.xml.parsers/how-to-read-xml-file-in-java.html
Constructor Summary | |
---|---|
ConfigReader()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
|
static Environment<java.lang.String,BasicType> |
read(java.io.File file)
This wrapper method just calls the XMLEnvironmentReader that reads the whole XML file into a nested environment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigReader()
Method Detail |
---|
public static Environment<java.lang.String,BasicType> read(java.io.File file) throws java.io.IOException
file
- The XML file you want to read.
java.io.IOException
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |