|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary java.util.Hashtable java.util.Properties com.bankframe.fe.statemachine.ext.validation.PropertiesReader
The PropertiesReader class.
Field Summary | |
static java.lang.String |
PROPERTIES_EXT
|
static java.lang.String |
SEPERATOR
|
Constructor Summary | |
PropertiesReader()
The PropertiesReader constructor. |
|
PropertiesReader(java.util.Properties defaults)
The PropertiesReader constructor. |
Method Summary | |
java.util.Enumeration |
getKeys()
This method returns the keys of the loaded properties file. |
java.lang.String |
getString(java.lang.String key)
This method returns the value for a given key. |
java.net.URL |
loadPropertiesURL(java.lang.String name)
This method loads the properties for a given file name. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String PROPERTIES_EXT
public static final java.lang.String SEPERATOR
Constructor Detail |
public PropertiesReader()
public PropertiesReader(java.util.Properties defaults)
defaults
- java.util.PropertiesMethod Detail |
public java.util.Enumeration getKeys()
public java.lang.String getString(java.lang.String key)
key
- String
public java.net.URL loadPropertiesURL(java.lang.String name) throws ValidationException
name
- String the name should not include the ".properties" extension part.
ValidationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |