接口 IConfig
- 所有超级接口:
Serializable
- 所有已知实现类:
FileConfig, JdbcConfig, ResourceConfig
-
方法概要
修饰符和类型方法说明booleanCheck if the configuration existsbooleanCheck if the item in the configuration filereturn the fixed XML namegetPath()return the ScriptPath classreturn the configuration XML documentloadItem()return the item from the configuration filevoidsetFixedXmlName(String fixedXmlName) Set the fixed XML namevoidsetItemName(String itemName) voidsetScriptPath(ConfScriptPath scriptPath) voidsetXmlName(String xmlName)
-
方法详细资料
-
getPath
String getPath() -
checkConfigurationExists
boolean checkConfigurationExists()Check if the configuration exists- 返回:
-
checkItemExists
boolean checkItemExists()Check if the item in the configuration file- 返回:
- true/false
-
loadItem
-
loadConfiguration
-
setFixedXmlName
Set the fixed XML name- 参数:
fixedXmlName- the fixed XML name
-
getScriptPath
-
getFixedXmlName
-
getXmlName
String getXmlName() -
getItemName
String getItemName() -
setScriptPath
-
setXmlName
-
setItemName
-