public static class ApplicationConfig.OptionList extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationConfig |
config |
protected String |
key |
protected String |
value |
| Constructor and Description |
|---|
OptionList(ApplicationConfig config,
String key,
String value) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> List<T> |
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. |
protected ApplicationConfig config
protected String key
protected String value
public OptionList(ApplicationConfig config, String key, String value)
public List<File> getOptionAsFile()
File.public List<Class> getOptionAsClass()
Class.public List<Date> getOptionAsDate()
Date.public List<Time> getOptionAsTime()
Time.public List<Timestamp> getOptionAsTimestamp()
Timestamp.public List<Double> getOptionAsDouble()
double.doubleCopyright © 2016–2018 Ultreia.io. All rights reserved.