|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.springlayout.util.SpringLayoutConfiguration
public class SpringLayoutConfiguration
Singleton wrapper for the application's properties file
Method Summary | |
---|---|
static SpringLayoutConfiguration |
getInstance()
|
java.lang.String[] |
getProperties()
|
java.lang.String |
getProperty(java.lang.String key)
Gets the property held by the current properties object associated with the given key |
void |
setProperty(java.lang.String key,
java.lang.String value)
Adds a key value pair to the current properties object used by this config object |
void |
writeProperty(java.lang.String key,
java.lang.String value)
Writes a key value pair to the current properties file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SpringLayoutConfiguration getInstance()
public java.lang.String getProperty(java.lang.String key)
key
-
public void setProperty(java.lang.String key, java.lang.String value)
key
- value
- public void writeProperty(java.lang.String key, java.lang.String value) throws java.io.IOException
key
- value
-
java.io.IOException
public java.lang.String[] getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |