cynosurex.io
Class ConfigureString
java.lang.Object
cynosurex.io.ConfigureString
- All Implemented Interfaces:
- cynosurex.internal.AuthorCommon, cynosurex.internal.CommonInterface, cynosurex.internal.CompanyCommon
public class ConfigureString
- extends java.lang.Object
- implements cynosurex.internal.CommonInterface
The ConfigureString
stores string information based on a key.
- Version:
- 1.0, 10/11/1997
- Author:
- Chieh Cheng
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 |
Method Summary |
boolean |
contains(java.lang.Object datum)
|
boolean |
containsKey(java.lang.Object key)
|
java.lang.Object |
getData(java.lang.Object key)
|
boolean |
isEmpty()
|
java.lang.Object |
putData(java.lang.Object key,
java.lang.Object datum)
|
boolean |
ReadConfig()
|
java.lang.Object |
removeData(java.lang.Object key)
|
int |
size()
|
boolean |
WriteConfig()
Saves configuration information into a file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigureString
public ConfigureString(java.lang.String configname)
ReadConfig
public boolean ReadConfig()
WriteConfig
public boolean WriteConfig()
- Saves configuration information into a file.
Return true when operation completes successfully,
false otherwise.
contains
public boolean contains(java.lang.Object datum)
containsKey
public boolean containsKey(java.lang.Object key)
getData
public java.lang.Object getData(java.lang.Object key)
isEmpty
public boolean isEmpty()
putData
public java.lang.Object putData(java.lang.Object key,
java.lang.Object datum)
removeData
public java.lang.Object removeData(java.lang.Object key)
size
public int size()