|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.sphinx.util.props.SaxLoader
public class SaxLoader
Loads configuration from an XML file
| Constructor Summary | |
|---|---|
SaxLoader(java.net.URL url,
java.util.Map<java.lang.String,java.lang.String> globalProperties)
Creates a loader that will load from the given location |
|
SaxLoader(java.net.URL url,
java.util.Map<java.lang.String,java.lang.String> globalProperties,
java.util.Map<java.lang.String,RawPropertyData> initRPD,
boolean replaceDuplicates)
Creates a loader that will load from the given location |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,RawPropertyData> |
load()
Loads a set of configuration data from the location |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SaxLoader(java.net.URL url,
java.util.Map<java.lang.String,java.lang.String> globalProperties,
java.util.Map<java.lang.String,RawPropertyData> initRPD,
boolean replaceDuplicates)
url - the location to loadglobalProperties - the map of global propertiesinitRPD - replaceDuplicates -
public SaxLoader(java.net.URL url,
java.util.Map<java.lang.String,java.lang.String> globalProperties)
url - the location to loadglobalProperties - the map of global properties| Method Detail |
|---|
public java.util.Map<java.lang.String,RawPropertyData> load()
throws java.io.IOException
java.io.IOException - if an I/O or parse error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||