⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configuration.java

📁 JDBF是一个实现o/r mapping 的软件
💻 JAVA
字号:
/*
* 04/04/2002 - 23:12:27
*
* $RCSfile: Configuration.java,v $ - JDBF Object Relational mapping system
* Copyright (C) 2002 JDBF Development Team
* 
* http://jdbf.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

/*
 * 
 * $Id: Configuration.java,v 1.3 2004/05/20 22:36:38 gmartone Exp $
 */
package org.jdbf.engine.configuration;

import java.util.Iterator;

/*
 * This class is based on sources in org.apache.avalon.
 * The authors of those sources are Federico Barbieri,
 * Stefano Mazzocchi, and Pierpaolo Fumagalli.
 *
 */

/**
 * <code>Configuration</code> is a configuration represented in 
 * the XML format. <br> 
 * 
 * This class is based on sources in org.apache.avalon.
 * The authors of those sources are Federico Barbieri,
 * Stefano Mazzocchi, and Pierpaolo Fumagalli.<br>
 * 
 * @version $Revision: 1.3 $<br>
 * last changed by $Author: gmartone $
 */
 public interface Configuration{
    
	/** Return the name of this configuration */
    String getName();

    /** Return child node of this configuration with the given name */
    Configuration getConfiguration(String name);

    /** Return child node of this configuration with the given name */
    Configuration getConfiguration(String name, String defaultValue);

    /** Return child nodes of this configuration with the given name */
    Iterator getConfigurations(String name);

    /** Return the value of this configuration as int */
    int getIntValue() throws NumberFormatException;

    /** Return the value of this configuration as float */
    float getFloatValue() throws NumberFormatException;

    /** Return the value of this configuration as String */
    String getValue();

    /** Return the value of this configuration as String */
    String getValue(String defaultValue);
}


/*
 * $log$
 * 
 */


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -