Added Methods |
void addDefaultResource(String )
|
Add a default resource. |
void dumpConfiguration(Configuration, Writer)
|
Writes out all the parameters and their properties (final and resource) to the given Writer The format of the output would be { "properties" : [ {key1 value1 key1.isFinal key1.resource} {key2 value2 key2.isFinal key2.resource}... |
Class getClass(String, Class)
|
Get the value of the name property as a Class . |
Class getClass(String, Class, Class)
|
Get the value of the name property as a Class implementing the interface specified by xface . |
Enum getEnum(String, Enum)
|
Return value matching this enumerated type. |
List getInstances(String, Class)
|
Get the value of the name property as a List of objects implementing the interface specified by xface . |
Pattern getPattern(String, Pattern)
|
Get the value of the name property as a Pattern. |
Collection getTrimmedStringCollection(String )
|
Get the comma delimited values of the name property as a collection of String s trimmed of the leading and trailing whitespace. |
String[] getTrimmedStrings(String )
|
Get the comma delimited values of the name property as an array of String s trimmed of the leading and trailing whitespace. |
String[] getTrimmedStrings(String, String[])
|
Get the comma delimited values of the name property as an array of String s trimmed of the leading and trailing whitespace. |
Map getValByRegex(String )
|
get keys matching the the regex |
void setBooleanIfUnset(String, boolean)
|
Set the given property if it is currently unset. |
void setEnum(String, Enum)
|
Set the value of the name property to the given type. |
void setFloat(String, float)
|
Set the value of the name property to a float . |
void setIfUnset(String, String)
|
Sets a property if it is currently unset. |
void setPattern(String, Pattern)
|
Set the given property to Pattern . |
void writeXml(Writer )
|
Write out the non-default properties in this configuration to the given Writer |
Changed Methods |
Class getClassByName(String )
|
Change in return type from Class> to Class .
|
Load a class by name. |
Collection getStringCollection(String )
|
Change in return type from String> to Collection .
|
Get the comma delimited values of the name property as a collection of String s. |
Iterator iterator()
|
Change in return type from (String, String>> ) to Iterator .
|
Get an Iterator to go through the list of String key-value pairs in the configuration. |
void setClass(String, Class, Class)
|
Change in signature from (String, Class>, Class> ) to (String, Class, Class ).
|
Set the value of the name property to the name of a theClass implementing the given interface xface . |