public final class ConfigManager extends Object
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
getAllConfig() |
Map<String,Object> |
getConfig(int type) |
static ConfigManager |
getInstance(String rootPath,
String contextPath,
String uri)
配置管理器构造工厂
|
boolean |
valid() |
public static ConfigManager getInstance(String rootPath, String contextPath, String uri)
rootPath - 服务器根路径contextPath - 服务器所在项目路径uri - 当前访问的uripublic boolean valid()
public org.json.JSONObject getAllConfig()
Copyright © 2016. All rights reserved.