|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.util.ApplicationConfig.OptionList
public static class ApplicationConfig.OptionList
| Field Summary | |
|---|---|
protected ApplicationConfig |
config
|
protected String |
key
|
protected String |
value
|
| Constructor Summary | |
|---|---|
ApplicationConfig.OptionList(ApplicationConfig config,
String key,
String value)
|
|
| Method Summary | ||
|---|---|---|
protected
|
convertListOption(Class<T> type)
|
|
List<String> |
getOption()
Get option value as String. |
|
List<Boolean> |
getOptionAsBoolean()
Get option value as boolean. |
|
List<Class> |
getOptionAsClass()
Get option value as Class. |
|
List<Date> |
getOptionAsDate()
Get option value as Date. |
|
List<Double> |
getOptionAsDouble()
Get option value as double. |
|
List<File> |
getOptionAsFile()
Get option value as File. |
|
List<Integer> |
getOptionAsInt()
Get option value as int. |
|
List<Time> |
getOptionAsTime()
Get option value as Time. |
|
List<Timestamp> |
getOptionAsTimestamp()
Get option value as Timestamp. |
|
List<URL> |
getOptionAsURL()
Get option value as URL. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ApplicationConfig config
protected String key
protected String value
| Constructor Detail |
|---|
public ApplicationConfig.OptionList(ApplicationConfig config,
String key,
String value)
| Method Detail |
|---|
protected <T> List<T> convertListOption(Class<T> type)
public List<String> getOption()
String.
public List<File> getOptionAsFile()
File.
public List<URL> getOptionAsURL()
URL.
public List<Class> getOptionAsClass()
Class.
public List<Date> getOptionAsDate()
Date.
public List<Time> getOptionAsTime()
Time.
public List<Timestamp> getOptionAsTimestamp()
Timestamp.
public List<Integer> getOptionAsInt()
int.
intpublic List<Double> getOptionAsDouble()
double.
doublepublic List<Boolean> getOptionAsBoolean()
boolean.
boolean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||