|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.carlosbcruz.account.util.AccountProperties
public class AccountProperties
General Properties for the Account Application
Field Summary | |
---|---|
static java.lang.String |
BANK_TYPE_DESCRIPTION_GROUP
|
static java.lang.String |
LAST_INPUT_DIRECTORY
|
static java.lang.String |
QUICK_DESCRIPTION_GROUP
|
Constructor Summary | |
---|---|
AccountProperties()
|
Method Summary | |
---|---|
static void |
addGroupProperty(java.lang.String propertyKey,
java.lang.String value)
Insert a property at the end of a group |
static java.util.Vector |
getGroupProperty(java.lang.String propertyKey)
Return a group of properties specifying the group property key |
static java.lang.String |
getGroupProperty(java.lang.String propertyKey,
int index)
Return specific groups property element by its index |
static java.lang.String |
getStringProperty(java.lang.String propertyKey)
Get the property to a key. |
static void |
removeAllGroupKeysProperty(java.lang.String propertyKey)
Remove all the properties that belongs to a group |
static void |
removeGroupKeyPropertyByPosition(java.lang.String propertyKey,
int position)
Remove a property from a group informing the position |
static void |
saveProperties()
Save the properties in the application file |
static void |
setStringProperty(java.lang.String propertyKey,
java.lang.String propertyValue)
Set an Account property |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String LAST_INPUT_DIRECTORY
public static java.lang.String QUICK_DESCRIPTION_GROUP
public static java.lang.String BANK_TYPE_DESCRIPTION_GROUP
Constructor Detail |
---|
public AccountProperties()
Method Detail |
---|
public static java.lang.String getStringProperty(java.lang.String propertyKey)
propertyKey
- The parameter key
public static void removeAllGroupKeysProperty(java.lang.String propertyKey)
propertyKey
- The group to be removedpublic static void removeGroupKeyPropertyByPosition(java.lang.String propertyKey, int position)
propertyKey
- The group key identificationposition
- Position to be removedpublic static void addGroupProperty(java.lang.String propertyKey, java.lang.String value)
propertyKey
- Property Groupvalue
- The valuepublic static java.util.Vector getGroupProperty(java.lang.String propertyKey)
propertyKey
- group property key
public static java.lang.String getGroupProperty(java.lang.String propertyKey, int index)
propertyKey
- group property keyindex
- the property position
public static void setStringProperty(java.lang.String propertyKey, java.lang.String propertyValue)
propertyKey
- the KeypropertyValue
- the Valuepublic static void saveProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |