public class WordConfTools extends Object
Constructor and Description |
---|
WordConfTools() |
Modifier and Type | Method and Description |
---|---|
static void |
forceOverride(String confFile)
强制覆盖默认配置
|
static String |
get(String key) |
static String |
get(String key,
String defaultValue) |
static boolean |
getBoolean(String key) |
static boolean |
getBoolean(String key,
boolean defaultValue) |
static int |
getInt(String key) |
static int |
getInt(String key,
int defaultValue) |
static void |
main(String[] args) |
static void |
reload()
重新加载配置文件
|
static void |
set(String key,
String value) |
public static boolean getBoolean(String key, boolean defaultValue)
public static boolean getBoolean(String key)
public static int getInt(String key, int defaultValue)
public static int getInt(String key)
public static void reload()
public static void forceOverride(String confFile)
confFile
- 配置文件路径public static void main(String[] args)
Copyright © 2014–2015 APDPlat. All rights reserved.