public abstract class IConfig extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_CONFIG |
| 构造器和说明 |
|---|
IConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
boolProp(String propertyName,
boolean defaultValue) |
abstract String |
getProperty(String name)
Same semantic of Properties
|
abstract String |
getProperty(String name,
String defaultValue)
Same semantic of Properties
|
abstract IResourceLoader |
getResourceLoader() |
int |
intProp(String propertyName,
int defaultValue) |
abstract void |
setProperty(String name,
String value) |
public abstract String getProperty(String name)
name - property name.public abstract String getProperty(String name, String defaultValue)
name - property name.defaultValue - default value to return in case the property doesn't exists.public abstract IResourceLoader getResourceLoader()
public int intProp(String propertyName, int defaultValue)
public boolean boolProp(String propertyName, boolean defaultValue)
Copyright © 2021. All rights reserved.