📄 configurationhandler.java
字号:
/*
* ConfigurationLoader.java
*
* Created on 28. April 2002, 14:41
*/
package org.jconfig.handler;
import org.jconfig.Configuration;
import org.jconfig.ConfigurationManagerException;
import org.jconfig.parser.ConfigurationParser;
/**
* This interface defines all methods that must be implemented
* by all Handler classes.
*
* @author Andreas Mecky <andreas.mecky@xcom.de>
* @author Terry Dye <terry.dye@xcom.de>
*/
public interface ConfigurationHandler {
/**
* This method loads a configuration and returns it
*
* @param configurationName the name of the configuration
* @return the Configuration
* @throws ConfigurationManagerException
*/
public Configuration load(String configurationName) throws ConfigurationManagerException;
/**
* This method loads a configuration using a specific parser and returns it
*
* @param configurationName the name of the configuration
* @param parser the parser that should be used
* @return the Configuration
* @throws ConfigurationManagerException
*/
public Configuration load(String configurationName,ConfigurationParser parser) throws ConfigurationManagerException;
/**
* This method should store all categories and properties.
*
* @param configuration the Configuration that should be saved
* @throws ConfigurationManagerException
*/
public void store(Configuration configuration) throws ConfigurationManagerException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -