|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jcsp.net.settings.ConfigReader
public class ConfigReader
Used internally by the JCSP network infrastructure to load a configuration from an XML file.
This is not a full XML reader, and is capable of reading only a subset of XML.
| Nested Class Summary | |
|---|---|
static class |
ConfigReader.XMLValidationException
Thrown in the event of a semantic error in the parsed XML file. |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ConfigReader(java.io.InputStream instream)
Constructs a new configuration from the given source stream. |
|
| Method Summary | |
|---|---|
JCSPConfig |
getConfig()
|
static void |
main(java.lang.String[] args)
Diagnostic routine. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigReader(java.io.InputStream instream)
throws java.io.IOException
instream - source of the XML configuration.
java.io.IOException - if there is a problem with the stream or the file is improperly formatted.
ConfigReader.XMLValidationException - if there is a symantic problem with the configuration.| Method Detail |
|---|
public static void main(java.lang.String[] args)
public JCSPConfig getConfig()
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||