|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcynosurex.io.ConfigureObject
public class ConfigureObject
This object read and write object configuration files
Field Summary |
---|
Fields inherited from interface cynosurex.internal.CommonInterface |
---|
copyright, copyrightYears, notice, program, version |
Fields inherited from interface cynosurex.internal.AuthorCommon |
---|
author, copyrightSymbol, noticeMsg, rights |
Fields inherited from interface cynosurex.internal.CompanyCommon |
---|
company, email, website |
Constructor Summary | |
---|---|
ConfigureObject(java.lang.String configname)
Constructor. |
Method Summary | |
---|---|
boolean |
contains(java.lang.Object datum)
Whether this ConfigureObject contains the datum. |
boolean |
containsKey(java.lang.Object key)
Whether this ConfigureObject contains the key. |
java.lang.Object |
getData(java.lang.Object key)
This method returns the configuration setting that is associated to the key. |
boolean |
isEmpty()
This method determines with this configuration object is empty. |
boolean |
load()
Load the configuration settings from file into this object. |
java.lang.Object |
putData(java.lang.Object key,
java.lang.Object datum)
Puts a configuration setting into this object. |
boolean |
ReadConfig()
Deprecated. |
java.lang.Object |
removeData(java.lang.Object key)
|
void |
save()
Saves the configuration object to file. |
int |
size()
Returns the number of configuration settings in this object. |
void |
WriteConfig()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigureObject(java.lang.String configname)
configname
- The file name of the configuration file.Method Detail |
---|
public boolean contains(java.lang.Object datum)
datum
- The datum to search for.
public boolean containsKey(java.lang.Object key)
key
- The key to search for.
public java.lang.Object getData(java.lang.Object key)
public boolean isEmpty()
public boolean load()
public java.lang.Object putData(java.lang.Object key, java.lang.Object datum)
key
- The key to associate to the configuration data.datum
- The configuration data.
public boolean ReadConfig()
public java.lang.Object removeData(java.lang.Object key)
public void save()
public int size()
public void WriteConfig()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |