|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
com.bankframe.fe.statemachine.ext.validation.PropertiesReader
public class PropertiesReader
The PropertiesReader class.
Field Summary | |
---|---|
static String |
PROPERTIES_EXT
|
static String |
SEPERATOR
|
Constructor Summary | |
---|---|
PropertiesReader()
The PropertiesReader constructor. |
|
PropertiesReader(Properties defaults)
The PropertiesReader constructor. |
Method Summary | |
---|---|
Enumeration |
getKeys()
This method returns the keys of the loaded properties file. |
String |
getString(String key)
This method returns the value for a given key. |
URL |
loadPropertiesURL(String name)
This method loads the properties for a given file name. |
Methods inherited from class java.util.Properties |
---|
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
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 String PROPERTIES_EXT
public static final String SEPERATOR
Constructor Detail |
---|
public PropertiesReader()
public PropertiesReader(Properties defaults)
defaults
- java.util.PropertiesMethod Detail |
---|
public Enumeration getKeys()
public String getString(String key)
key
- String
public URL loadPropertiesURL(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 |