|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.csource.common.IniFileReader
public class IniFileReader
ini file reader / parser
| 构造方法摘要 | |
|---|---|
IniFileReader(String conf_filename)
|
|
| 方法摘要 | |
|---|---|
static ClassLoader |
classLoader()
|
boolean |
getBoolValue(String name,
boolean default_value)
get boolean value from config file |
String |
getConfFilename()
get the config filename |
int |
getIntValue(String name,
int default_value)
get int value from config file |
String |
getStrValue(String name)
get string value from config file |
String[] |
getValues(String name)
get all values from config file |
static InputStream |
loadFromOsFileSystemOrClasspathAsStream(String filePath)
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public IniFileReader(String conf_filename)
throws IOException
conf_filename - config filename
IOException| 方法详细信息 |
|---|
public static ClassLoader classLoader()
public static InputStream loadFromOsFileSystemOrClasspathAsStream(String filePath)
public String getConfFilename()
public String getStrValue(String name)
name - item name in config file
public int getIntValue(String name,
int default_value)
name - item name in config filedefault_value - the default value
public boolean getBoolValue(String name,
boolean default_value)
name - item name in config filedefault_value - the default value
public String[] getValues(String name)
name - item name in config file
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||