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

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

?? elutil.java

?? java屬性邦定的(JSR-295)的一個實現
?? JAVA
字號:
/*
 * Copyright (C) 2007 Sun Microsystems, Inc. All rights reserved. Use is
 * subject to license terms.
 */

package org.jdesktop.el;

import java.text.MessageFormat;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.MissingResourceException;
import java.util.ResourceBundle;

/**
 *
 * <p>Utility methods for this portion of the EL implementation</p>
 *
 * <p>Methods on this class use a Map instance stored in ThreadLocal storage
 * to minimize the performance impact on operations that take place multiple
 * times on a single Thread.  The keys and values of the Map
 * are implementation private.</p>
 *
 * @author edburns
 */
class ELUtil {
    
    /**
     * <p>This class may not be constructed.</p>
     */
    
    private ELUtil() {
    }
    
    /**
     * <p>The <code>ThreadLocal</code> variable used to record the
     * {@link FacesContext} instance for each processing thread.</p>
     */
    private static ThreadLocal instance = new ThreadLocal() {
            protected Object initialValue() { return (null); }
        };
        
    /**
     * @return a Map stored in ThreadLocal storage.  This may
     * be used by methods of this class to minimize the performance
     * impact for operations that may take place multiple times on a given
     * Thread instance.
     */

    private static Map getCurrentInstance() {
        Map result = (Map) instance.get();
        if (null == result) {
            result = new HashMap();
            setCurrentInstance(result);
        }
        return result;

    }
    
    /**
     * <p>Replace the Map with the argument context.</p>
     *
     * @param context the Map to be stored in ThreadLocal storage.
     */

    private static void setCurrentInstance(Map context) {

        instance.set(context);

    }
    
    /*
     * <p>Convenience method, calls through to 
     * {@link #getExceptionMessageString(javax.el.ELContext,java.lang.String,Object []).
     * </p>
     *
     * @param context the ELContext from which the Locale for this message
     * is extracted.
     *
     * @param messageId the messageId String in the ResourceBundle
     *
     * @return a localized String for the argument messageId
     */
    
    public static String getExceptionMessageString(ELContext context, String messageId) {
        return getExceptionMessageString(context, messageId, null);
    }    
    
    /*
     * <p>Return a Localized message String suitable for use as an Exception message.
     * Examine the argument <code>context</code> for a <code>Locale</code>.  If
     * not present, use <code>Locale.getDefault()</code>.  Load the 
     * <code>ResourceBundle</code> "javax.el.Messages" using that locale.  Get
     * the message string for argument <code>messageId</code>.  If not found
     * return "Missing Resource in EL implementation ??? messageId ???" 
     * with messageId substituted with the runtime
     * value of argument <code>messageId</code>.  If found, and argument
     * <code>params</code> is non-null, format the message using the 
     * params.  If formatting fails, return a sensible message including 
     * the <code>messageId</code>.  If argument <code>params</code> is 
     * <code>null</code>, skip formatting and return the message directly, otherwise
     * return the formatted message.</p>
     *
     * @param context the ELContext from which the Locale for this message
     * is extracted.
     *
     * @param messageId the messageId String in the ResourceBundle
     *
     * @param params parameters to the message
     *
     * @return a localized String for the argument messageId
     */
    
    public static String getExceptionMessageString(ELContext context,
            String messageId, 
            Object [] params) {
        String result = "";
        Locale locale = null;
        
        if (null == context || null == messageId) {
            return result;
        }
        
        if (null == (locale = context.getLocale())) {
            locale = Locale.getDefault();
        }
        if (null != locale) {
            Map threadMap = getCurrentInstance();
            ResourceBundle rb = null;
            if (null == (rb = (ResourceBundle)
            threadMap.get(locale.toString()))) {
                rb = ResourceBundle.getBundle("org.jdesktop.el.PrivateMessages",
                                              locale);
                threadMap.put(locale.toString(), rb);
            }
            if (null != rb) {
                try {
                    result = rb.getString(messageId);
                    if (null != params) {
                        result = MessageFormat.format(result, params);
                    }
                } catch (IllegalArgumentException iae) {
                    result = "Can't get localized message: parameters to message appear to be incorrect.  Message to format: " + messageId;
                } catch (MissingResourceException mre) {
                    result = "Missing Resource in EL implementation: ???" + messageId + "???";
                } catch (Exception e) {
                    result = "Exception resolving message in EL implementation: ???" + messageId + "???";
                }
            }
        }
        
        return result;
    }
        
    
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产美女娇喘av呻吟久久| 国产电影一区在线| 国产**成人网毛片九色| 91福利在线播放| 久久综合久久99| 亚洲综合激情另类小说区| 国产精品一区免费视频| 欧美伦理影视网| 综合久久综合久久| 国产精品1区2区| 日韩限制级电影在线观看| 一区二区三区电影在线播| 成人高清视频在线| 久久精品综合网| 久久99最新地址| 3d动漫精品啪啪一区二区竹菊| 亚洲欧洲国产专区| 丁香五精品蜜臀久久久久99网站| 欧美一区二区不卡视频| 亚洲国产精品一区二区久久 | 91精品国产综合久久精品图片 | 国产成人福利片| 欧美色涩在线第一页| 7777精品伊人久久久大香线蕉的 | 欧美色涩在线第一页| 久久国产婷婷国产香蕉| 欧美高清在线一区| 欧美久久久久久蜜桃| 国产成人免费网站| 石原莉奈在线亚洲三区| 国产亚洲精品bt天堂精选| 91黄色在线观看| 国产精品99久久久久久宅男| 一区二区在线电影| 久久久99精品免费观看不卡| 欧美中文字幕一区| 高清成人在线观看| 日av在线不卡| 亚洲精品国产a| 久久精品无码一区二区三区| 欧美日韩国产大片| 成人精品高清在线| 狠狠色伊人亚洲综合成人| 一级女性全黄久久生活片免费| 精品免费国产一区二区三区四区| 一本色道久久综合亚洲精品按摩| 久久超级碰视频| 亚洲高清久久久| 亚洲日本一区二区三区| 久久久亚洲午夜电影| 欧美日韩国产一区二区三区地区| 高清久久久久久| 国产乱码精品一区二区三区五月婷 | 日日摸夜夜添夜夜添亚洲女人| 久久不见久久见免费视频1| 久久久噜噜噜久噜久久综合| 成人av在线一区二区三区| 亚洲精品在线免费播放| 蜜臀av性久久久久蜜臀aⅴ四虎| 欧美videossexotv100| 国产精品乱人伦| 国产麻豆欧美日韩一区| 一区二区三区四区高清精品免费观看 | 亚洲综合免费观看高清完整版在线 | 九九热在线视频观看这里只有精品| 亚洲男人电影天堂| ●精品国产综合乱码久久久久| 久久综合狠狠综合| 精品久久久久久久久久久院品网 | 一区二区三区在线高清| 国产精品入口麻豆九色| 久久影院视频免费| 精品国产1区二区| 丝袜美腿高跟呻吟高潮一区| 欧美www视频| 99久久婷婷国产综合精品电影| 一区二区三区色| 久久综合给合久久狠狠狠97色69| 这里只有精品电影| 日韩精品成人一区二区三区 | 日韩电影在线免费看| 国产精品免费aⅴ片在线观看| 欧美午夜精品一区| 国产福利精品导航| 色婷婷综合久久久久中文| 欧美一区二区大片| 一区二区三区在线高清| 久久久亚洲欧洲日产国码αv| 91麻豆免费观看| 久久99国产精品免费网站| 欧美高清在线精品一区| 欧亚一区二区三区| 色先锋资源久久综合| 国产一二精品视频| 精品一区二区三区蜜桃| 一个色在线综合| 国产精品久久久一本精品 | 亚洲成在人线免费| 免费人成在线不卡| 国产精品综合久久| 老司机午夜精品99久久| 亚洲国产精品一区二区www| 日韩欧美中文字幕一区| 欧美日韩高清一区二区三区| av中文字幕在线不卡| 国产精品中文有码| 国产福利一区二区三区在线视频| 韩国一区二区三区| 国产成人av一区二区三区在线观看| 视频一区视频二区中文| 亚洲视频一区在线| 中文字幕va一区二区三区| 日韩一区二区影院| 欧美午夜精品久久久久久孕妇| 99久久免费视频.com| 国产一区二区三区不卡在线观看| 精品一区二区免费看| 亚洲一本大道在线| 视频一区免费在线观看| 欧美三电影在线| 国产精品久久久久久久裸模 | 国产成人亚洲综合a∨婷婷图片 | 丝袜美腿亚洲色图| 欧美调教femdomvk| 亚洲精品福利视频网站| 久久成人羞羞网站| 欧美军同video69gay| 久久久久国产精品人| 亚洲午夜精品17c| 岛国av在线一区| 在线成人av网站| 日韩理论片在线| 久久99久久99小草精品免视看| 91视频观看视频| 337p粉嫩大胆噜噜噜噜噜91av | 欧美成人高清电影在线| 中文字幕日本不卡| 九色|91porny| 欧美日韩亚洲综合一区二区三区 | 亚洲日本免费电影| 韩国中文字幕2020精品| 欧美无乱码久久久免费午夜一区 | 一区二区三区国产豹纹内裤在线| 免费观看成人av| 在线观看亚洲成人| 中文字幕精品—区二区四季| 奇米亚洲午夜久久精品| 91免费小视频| 日韩精品乱码av一区二区| 99久久伊人精品| 久久久久久99精品| 日本不卡123| 欧美色电影在线| 亚洲精品乱码久久久久| 国产69精品久久99不卡| 久久综合久久99| 精品一区二区三区在线观看| 欧美精品一级二级三级| 亚洲在线视频免费观看| 色偷偷成人一区二区三区91| 国产精品无码永久免费888| 国产一区二区三区视频在线播放| 日韩免费性生活视频播放| 青青草国产成人av片免费| 欧美日韩在线播放| 午夜伊人狠狠久久| 欧美伦理电影网| 婷婷久久综合九色综合伊人色| 色综合久久久网| 亚洲精品乱码久久久久久久久 | 日韩av高清在线观看| 欧美日韩在线不卡| 日韩影院在线观看| 91精品国产综合久久福利软件| 日韩成人一区二区三区在线观看| 欧美日韩国产高清一区二区三区 | 久久色.com| 国产一区二区三区在线观看精品| 国产亚洲午夜高清国产拍精品| 国产一区999| 国产精品第五页| 91国在线观看| 天天综合色天天综合色h| 日韩一区二区在线看| 国产毛片精品国产一区二区三区| 久久蜜桃香蕉精品一区二区三区| 国产a视频精品免费观看| 一区视频在线播放| 欧美色成人综合| 国内一区二区视频| 中文字幕一区二区三区视频 | 欧美日韩卡一卡二| 麻豆成人免费电影| 欧美国产精品久久| 欧美综合欧美视频| 久久99久久99小草精品免视看| 国产精品久久午夜| 精品视频在线免费观看| 久久精品国产第一区二区三区| 国产欧美日韩亚州综合|