接口 IConfig

所有超级接口:
Serializable
所有已知实现类:
FileConfig, JdbcConfig, ResourceConfig

public interface IConfig extends Serializable
  • 方法详细资料

    • 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

      Node loadItem() throws Exception
      return the item from the configuration file
      抛出:
      Exception
    • loadConfiguration

      Document loadConfiguration() throws Exception
      return the configuration XML document
      抛出:
      Exception
    • setFixedXmlName

      void setFixedXmlName(String fixedXmlName)
      Set the fixed XML name
      参数:
      fixedXmlName - the fixed XML name
    • getScriptPath

      ConfScriptPath getScriptPath()
      return the ScriptPath class
      返回:
      the ScriptPath class
    • getFixedXmlName

      String getFixedXmlName()
      return the fixed XML name
      返回:
      the fixed XML name
    • getXmlName

      String getXmlName()
    • getItemName

      String getItemName()
    • setScriptPath

      void setScriptPath(ConfScriptPath scriptPath)
    • setXmlName

      void setXmlName(String xmlName)
    • setItemName

      void setItemName(String itemName)