|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.text.xml.storage.StorageItem
public abstract class StorageItem
A Object to store to XML File
Constructor Summary | |
---|---|
StorageItem()
|
Method Summary | |
---|---|
Date |
getDate(String key)
gets a value from the storage item as Date Object |
DateTime |
getDateTime(String key)
gets a value from the storage item as Date Object |
int |
getInt(String key)
gets a value from the storage item as int |
String |
getString(String key)
gets a value from the storage item as String |
Time |
getTime(String key)
gets a value from the storage item as Time Object |
void |
setDate(String key,
Date value)
sets a value to the storage item as Date Object |
void |
setDateTime(String key,
DateTime value)
sets a value to the storage item as DateTime Object |
void |
setInt(String key,
int value)
sets a value to the storage item as int |
void |
setString(String key,
String value)
sets a value to the storage item as String |
void |
setTime(String key,
Time value)
sets a value to the storage item as Time Object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StorageItem()
Method Detail |
---|
public String getString(String key) throws StorageException
key
- key of the value to get
StorageException
public int getInt(String key) throws StorageException
key
- key of the value to get
StorageException
public Date getDate(String key) throws StorageException
key
- key of the value to get
StorageException
public Time getTime(String key) throws StorageException
key
- key of the value to get
StorageException
public DateTime getDateTime(String key) throws StorageException
key
- key of the value to get
StorageException
public void setString(String key, String value) throws StorageException
key
- key of the value to setvalue
- value to set
StorageException
public void setInt(String key, int value) throws StorageException
key
- key of the value to setvalue
- value to set
StorageException
public void setDate(String key, Date value) throws StorageException
key
- key of the value to setvalue
- value to set
StorageException
public void setTime(String key, Time value) throws StorageException
key
- key of the value to setvalue
- value to set
StorageException
public void setDateTime(String key, DateTime value) throws StorageException
key
- key of the value to setvalue
- value to set
StorageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |