public class SaxLoader
extends java.lang.Object
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,RawPropertyData> |
load()
Loads a set of configuration data from the location
|
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
- init raw property datareplaceDuplicates
- replace duplicatespublic SaxLoader(java.net.URL url, java.util.Map<java.lang.String,java.lang.String> globalProperties)
url
- the location to loadglobalProperties
- the map of global propertiespublic java.util.Map<java.lang.String,RawPropertyData> load() throws java.io.IOException
java.io.IOException
- if an I/O or parse error occurs