|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Getter
Toml getter interface.
| Method Summary | ||
|---|---|---|
Object |
get(String key)
Get the object. |
|
|
getAs(String key,
Class<T> clazz)
Get an object of a specific class. |
|
Boolean |
getBoolean(String key)
Get a boolean. |
|
Calendar |
getDate(String key)
Get the date (as Calendar) |
|
Double |
getDouble(String key)
Get the double value. |
|
List<Object> |
getList(String key)
Get the list. |
|
Long |
getLong(String key)
Get the Long value. |
|
Map<String,Object> |
getMap(String key)
Get a Map. |
|
String |
getString(String key)
Get the string. |
|
| Method Detail |
|---|
Object get(String key)
key - the key where the object is located
String getString(String key)
key - the key where the object is located
Long getLong(String key)
key - the key where the object is located
Double getDouble(String key)
key - the key where the object is located
Calendar getDate(String key)
key - the key where the object is located
List<Object> getList(String key)
key - the key where the object is located
Boolean getBoolean(String key)
key - the key where the object is located
Map<String,Object> getMap(String key)
key - the key where the object is located
<T> T getAs(String key,
Class<T> clazz)
T - the typekey - the key where the object is locatedclazz - the class of the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||