public interface PropertyConfig
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBool(String key,
boolean defaultValue) |
Date |
getDate(String key) |
Timestamp |
getDateTime(String key) |
double |
getDouble(String key,
double defaultValue) |
float |
getFloat(String key,
float defaultValue) |
int |
getInt(String key,
int defaultValue) |
long |
getLong(String key,
long defaultValue) |
boolean |
getRequiredBool(String key) |
Date |
getRequiredDate(String key) |
Timestamp |
getRequiredDateTime(String key) |
double |
getRequiredDouble(String key) |
float |
getRequiredFloat(String key) |
int |
getRequiredInt(String key) |
long |
getRequiredLong(String key) |
String |
getRequiredString(String key) |
Time |
getRequiredTime(String key) |
String |
getString(String key) |
String |
getString(String key,
String defaultValue) |
Time |
getTime(String key) |
String getRequiredString(String key) throws NullPointerException
NullPointerExceptionboolean getBool(String key, boolean defaultValue)
boolean getRequiredBool(String key) throws NullPointerException, BoolFormatException
int getInt(String key, int defaultValue)
int getRequiredInt(String key) throws NullPointerException, NumberFormatException
long getLong(String key, long defaultValue)
long getRequiredLong(String key) throws NullPointerException, NumberFormatException
float getFloat(String key, float defaultValue)
float getRequiredFloat(String key) throws NullPointerException, NumberFormatException
double getDouble(String key, double defaultValue)
double getRequiredDouble(String key) throws NullPointerException, NumberFormatException
Date getRequiredDate(String key) throws NullPointerException, DateFormatException
Time getRequiredTime(String key) throws NullPointerException, DateFormatException
Timestamp getRequiredDateTime(String key) throws NullPointerException, DateFormatException
Copyright © 2017. All rights reserved.