亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? baseconfiguration.java

?? java servlet著名論壇源代碼
?? JAVA
字號:
package net.myvietnam.mvncore.configuration;

/* ====================================================================
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *    any, must include the following acknowledgement:
 *       "This product includes software developed by the
 *        Apache Software Foundation (http://www.apache.org/)."
 *    Alternately, this acknowledgement may appear in the software itself,
 *    if and wherever such third-party acknowledgements normally appear.
 *
 * 4. The names "The Jakarta Project", "Commons", and "Apache Software
 *    Foundation" must not be used to endorse or promote products derived
 *    from this software without prior written permission. For written
 *    permission, please contact apache@apache.org.
 *
 * 5. Products derived from this software may not be called "Apache"
 *    nor may "Apache" appear in their names without prior written
 *    permission of the Apache Software Foundation.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of the Apache Software Foundation.  For more
 * information on the Apache Software Foundation, please see
 * <http://www.apache.org/>.
 */

import java.util.Iterator;

import org.apache.commons.collections.SequencedHashMap;

/**
 * Basic configuration classe. Stores the configuration data but does not
 * provide any load or save functions. If you want to load your Configuration
 * from a file use PropertiesConfiguration or XmlConfiguration.
 *
 * This class extends normal Java properties by adding the possibility
 * to use the same key many times concatenating the value strings
 * instead of overwriting them.
 *
 * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
 * @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
 * @author <a href="mailto:daveb@miceda-data">Dave Bryson</a>
 * @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
 * @author <a href="mailto:leon@opticode.co.za">Leon Messerschmidt</a>
 * @author <a href="mailto:kjohnson@transparent.com">Kent Johnson</a>
 * @author <a href="mailto:dlr@finemaltcoding.com">Daniel Rall</a>
 * @author <a href="mailto:ipriha@surfeu.fi">Ilkka Priha</a>
 * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
 * @author <a href="mailto:mpoeschl@marmot.at">Martin Poeschl</a>
 * @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a>
 * @author <a href="mailto:ksh@scand.com">Konstantin Shaposhnikov</a>
 * @author <a href="mailto:oliver.heger@t-online.de">Oliver Heger</a>
 *
 * @version $Id: BaseConfiguration.java,v 1.1 2003/12/09 08:25:30 huumai Exp $
 */
public class BaseConfiguration extends AbstractConfiguration
{
    /** stores the configuration key-value pairs */
    private SequencedHashMap store = new SequencedHashMap();

    /**
     * Empty constructor.  You must add all the values to this configuration.
     */
    public BaseConfiguration()
    {
        super();
    }

    /**
     * Creates an empty BaseConfiguration object with
     * a Super-Object which is queries for every key.
     *
     * @param defaults Configuration defaults to use if key not in file
     */
    public BaseConfiguration(Configuration defaults)
    {
        super(defaults);
    }

    /**
     * Adds a key/value pair to the map.  This routine does no magic morphing.
     * It ensures the keylist is maintained
     *
     * @param key key to use for mapping
     * @param obj object to store
     */
    protected void addPropertyDirect(String key, Object obj)
    {
        Object o = getPropertyDirect(key);
        Object objAdd = null;

        if(o == null)
        {
            objAdd = obj;
        }
        else
        {
            if (o instanceof Container)
            {
                ((Container) o).add(obj);
            }
            else
            {
                // The token key is not a container.
                Container c = new Container();

                // There is an element. Put it into the container
                // at the first position
                c.add(o);

                // Now gobble up the supplied object
                c.add(obj);

                objAdd = c;
            }
        }

        if(objAdd != null)
        {
            store.put(key, objAdd);
        }
    }

    /**
     * Read property from underlying map.
     *
     * @param key key to use for mapping
     *
     * @return object associated with the given configuration key.
     */
    protected Object getPropertyDirect(String key)
    {
        return store.get(key);
    }

    /**
     * Check if the configuration is empty
     *
     * @return <code>true</code> if Configuration is empty,
     * <code>false</code> otherwise.
     */
    public boolean isEmpty()
    {
        return store.isEmpty();
    }

    /**
     * check if the configuration contains the key
     *
     * @param key the configuration key
     *
     * @return <code>true</code> if Configuration contain given key,
     * <code>false</code> otherwise.
     */
    public boolean containsKey(String key)
    {
        return store.containsKey(key);
    }

    /**
     * Clear a property in the configuration.
     *
     * @param key the key to remove along with corresponding value.
     */
    public void clearProperty(String key)
    {
        if (containsKey(key))
        {
            store.remove(key);
        }
    }

    /**
     * Get the list of the keys contained in the configuration
     * repository.
     *
     * @return An Iterator.
     */
    public Iterator getKeys()
    {
        return store.iterator();
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区三区四区在线观看| 国产精品福利av| 亚洲成人自拍网| 欧美日韩一区二区在线观看视频| 日欧美一区二区| 日韩欧美一区二区视频| 国内久久婷婷综合| 国产欧美一区二区精品仙草咪| 国产成人精品一区二| 国产精品每日更新在线播放网址| av一区二区三区四区| 一区二区免费在线| 51久久夜色精品国产麻豆| 狠狠色丁香久久婷婷综| 国产精品每日更新| 欧美日韩精品久久久| 国产在线麻豆精品观看| 国产精品天天摸av网| 欧美又粗又大又爽| 另类人妖一区二区av| 成人av在线一区二区三区| 国产一区三区三区| 欧美日韩高清在线播放| 欧美日韩国产一级二级| 精品欧美一区二区在线观看| 中文字幕国产一区二区| 亚洲女同女同女同女同女同69| 日韩av一级片| 欧美亚洲国产怡红院影院| 91性感美女视频| 成av人片一区二区| 欧美精品自拍偷拍| 亚洲欧洲精品成人久久奇米网| 亚洲精品成人天堂一二三| 国产福利视频一区二区三区| 久久国内精品自在自线400部| 亚洲精品五月天| 视频一区二区中文字幕| 91免费在线看| 亚洲欧洲中文日韩久久av乱码| 亚洲美女在线国产| 久久精品视频一区二区三区| 精品国产一区二区在线观看| 欧美成人一区二区三区在线观看 | 亚洲欧美电影一区二区| 日本人妖一区二区| 日本高清视频一区二区| 亚洲色图色小说| 91亚洲午夜精品久久久久久| 亚洲国产欧美日韩另类综合| av成人老司机| 亚洲女子a中天字幕| 韩国精品主播一区二区在线观看 | 三级久久三级久久久| 欧美国产精品劲爆| 日韩女优av电影在线观看| 欧美日韩色综合| 91一区二区在线| 不卡一二三区首页| 福利91精品一区二区三区| 日韩国产欧美一区二区三区| 亚洲精品国产无套在线观| 国产日产欧产精品推荐色| 亚洲精品一区二区三区影院 | 日韩和的一区二区| 一区二区三区日本| 亚洲欧洲综合另类| 亚洲天堂免费在线观看视频| 国产精品入口麻豆九色| 国产免费久久精品| 欧美激情在线免费观看| 久久久久久久久岛国免费| 久久亚区不卡日本| 久久久精品2019中文字幕之3| 欧美成人三级电影在线| 日韩视频在线永久播放| 日韩欧美另类在线| 欧美一区二区三区四区在线观看| 51午夜精品国产| 日韩欧美一区电影| 欧美成人三级在线| 久久美女艺术照精彩视频福利播放| 亚洲精品一区二区三区99| 久久亚洲一区二区三区明星换脸| 精品久久五月天| 久久久久久免费网| 中文天堂在线一区| 中文字幕字幕中文在线中不卡视频| 亚洲欧洲韩国日本视频| 亚洲综合丝袜美腿| 午夜精品一区二区三区电影天堂| 亚洲成av人片在线观看无码| 日韩专区中文字幕一区二区| 日本欧美韩国一区三区| 国产精品影视在线观看| 99re8在线精品视频免费播放| 99视频精品在线| 欧美亚洲动漫另类| 日韩一区和二区| 欧美经典一区二区三区| 亚洲婷婷在线视频| 日本色综合中文字幕| 国产v综合v亚洲欧| 91美女福利视频| 91精品国产全国免费观看| 精品国精品国产| 亚洲男同性恋视频| 免费人成黄页网站在线一区二区| 韩国欧美国产一区| 91久久香蕉国产日韩欧美9色| 91麻豆精品国产| 国产欧美日韩不卡免费| 一区二区三区加勒比av| 蜜桃精品视频在线| 91亚洲精品久久久蜜桃网站 | 日韩一区二区精品葵司在线| 久久天天做天天爱综合色| 国产精品白丝在线| 午夜成人免费电影| 成人一区二区视频| 欧美巨大另类极品videosbest | aaa欧美大片| 91精品国产手机| 亚洲婷婷在线视频| 狠狠色2019综合网| 欧美在线啊v一区| 国产欧美一区二区精品仙草咪| 亚洲国产乱码最新视频| 国产精品一区二区在线看| 欧美色老头old∨ideo| 国产精品视频免费| 裸体一区二区三区| 色婷婷综合久久久中文字幕| 精品蜜桃在线看| 香蕉久久夜色精品国产使用方法| 国产精品123| 日韩欧美中文字幕精品| 综合中文字幕亚洲| 国产精品1区二区.| 日韩一区二区三区视频在线 | 亚洲国产精品久久不卡毛片| 成人伦理片在线| 2022国产精品视频| 蜜臀av亚洲一区中文字幕| 在线视频中文字幕一区二区| 国产精品另类一区| 国产一区二区三区av电影 | 欧美bbbbb| 欧美日韩美女一区二区| 一区二区三区日本| 97久久超碰精品国产| 国产人久久人人人人爽| 精品一区二区三区视频| 欧美一区二区三区播放老司机| 亚洲午夜视频在线观看| 色综合天天综合网国产成人综合天| 欧美国产日产图区| 国产麻豆精品在线| 久久久午夜精品| 国产精品夜夜嗨| 久久亚洲春色中文字幕久久久| 麻豆精品视频在线观看免费| 91精品国产综合久久福利 | 欧美一区二区三区喷汁尤物| 亚洲国产精品久久人人爱| 欧美这里有精品| 一片黄亚洲嫩模| 在线视频国产一区| 亚洲综合一二区| 精品国产制服丝袜高跟| 美女国产一区二区| 日韩美女在线视频| 国产在线乱码一区二区三区| 久久综合狠狠综合久久激情| 国产一区二区三区| 日韩一二在线观看| 黄色资源网久久资源365| 亚洲精品一区二区三区在线观看| 韩国女主播一区二区三区| 久久久91精品国产一区二区精品| 国产成人午夜片在线观看高清观看| 久久这里只有精品视频网| 国产成人精品亚洲午夜麻豆| 久久精品视频在线免费观看| 成人免费福利片| 亚洲欧美区自拍先锋| 欧美亚洲另类激情小说| 亚欧色一区w666天堂| 欧美一级片在线观看| 国产原创一区二区| 亚洲三级电影网站| 欧美日本在线视频| 经典三级在线一区| 日韩一区中文字幕| 欧美精选一区二区| 激情文学综合丁香| 中文字幕五月欧美| 欧美日韩亚洲国产综合| 美女一区二区三区| 亚洲同性同志一二三专区|