|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.alchemist.utils.AlchemistState
public class AlchemistState
| Constructor Summary | |
|---|---|
AlchemistState()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getProperty(java.lang.String key)
Returns the property for the given key |
void |
loadProperties(java.io.File file)
This method loads the properties from the given file |
void |
loadProperties(java.lang.String path)
This method loads the properties from the given file path |
void |
removeProperty(java.lang.String key)
This method removes a property |
void |
saveProperties(java.io.File file)
This method saves the properties to the given file |
void |
saveProperties(java.lang.String path)
This method saves the properties to the given file path |
void |
setPersistentProperty(java.lang.String key,
java.lang.Object value)
This method sets a key-value pair as a persistent property, which can be loaded and saved via loadProperties and saveProperties methods |
void |
setProperty(java.lang.String key,
java.lang.Object value)
This method sets a key-value pair as a property |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlchemistState()
| Method Detail |
|---|
public void loadProperties(java.lang.String path)
throws java.io.FileNotFoundException
path - is the path to property file
java.io.FileNotFoundException
public void loadProperties(java.io.File file)
throws java.io.FileNotFoundException
file - is the property file
java.io.FileNotFoundException
public void saveProperties(java.lang.String path)
throws java.io.FileNotFoundException
path - is the path to property file
java.io.FileNotFoundException
public void saveProperties(java.io.File file)
throws java.io.FileNotFoundException
file - is the property file
java.io.FileNotFoundExceptionpublic java.lang.Object getProperty(java.lang.String key)
key - is the key of the property
public void setProperty(java.lang.String key,
java.lang.Object value)
key - is the keyvalue - is the value
public void setPersistentProperty(java.lang.String key,
java.lang.Object value)
key - is the keyvalue - is the valuepublic void removeProperty(java.lang.String key)
key - is the key of the property to be removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||