public final class ConfigInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static ConfigInfo |
NULL_INFO
The singleton for Null Value
|
| Constructor and Description |
|---|
ConfigInfo(String level,
String key,
String value)
Initializer
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean()
Gets boolean.
|
boolean |
getBoolean(boolean defaultValue)
Gets boolean.
|
int |
getInteger()
Gets integer.
|
int |
getInteger(int defaultValue)
Gets integer.
|
String |
getKey()
Gets key.
|
String |
getLevel()
Gets level.
|
long |
getLong()
Gets long.
|
long |
getLong(long defaultValue)
Gets long.
|
String |
getString()
Gets string.
|
String |
getString(String defaultValue)
Gets string.
|
public static final ConfigInfo NULL_INFO
public String getLevel()
public String getKey()
public String getString()
public String getString(String defaultValue)
defaultValue - the default valuepublic int getInteger()
public int getInteger(int defaultValue)
defaultValue - the default valuepublic long getLong()
public long getLong(long defaultValue)
defaultValue - the default valuepublic boolean getBoolean()
public boolean getBoolean(boolean defaultValue)
defaultValue - the default valueCopyright © 2020. All rights reserved.