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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? localebeanutils.java

?? 這是一個有關(guān)common beanutils 的源碼
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
package org.apache.commons.beanutils.locale;


import org.apache.commons.beanutils.BeanUtils;

import java.lang.reflect.InvocationTargetException;
import java.util.Locale;



/**
 * <p>Utility methods for populating JavaBeans properties
 * via reflection in a locale-dependent manner.</p>
 *
 * <p>The implementations for these methods are provided by <code>LocaleBeanUtilsBean</code>.
 * For more details see {@link LocaleBeanUtilsBean}.</p>
 *
 * @author Craig R. McClanahan
 * @author Ralph Schaer
 * @author Chris Audley
 * @author Rey Francois
 * @author Gregor Rayman
 * @author Yauheny Mikulski
 */

public class LocaleBeanUtils extends BeanUtils {


    // ----------------------------------------------------- Instance Variables

    /**
     * <p>Gets the locale used when no locale is passed.</p>
     *
     * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
     *
     * @return the default locale
     * @see LocaleBeanUtilsBean#getDefaultLocale()
     */
    public static Locale getDefaultLocale() {

        return LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().getDefaultLocale();
    }


    /**
     * <p>Sets the locale used when no locale is passed.</p>
     *
     * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
     *
     * @param locale the default locale
     * @see LocaleBeanUtilsBean#setDefaultLocale(Locale)
     */
    public static void setDefaultLocale(Locale locale) {

        LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().setDefaultLocale(locale);
    }

    /**
     * <p>Gets whether the pattern is localized or not.</p>
     *
     * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
     *
     * @return <code>true</code> if pattern is localized,
     * otherwise <code>false</code>
     * @see LocaleBeanUtilsBean#getApplyLocalized()
     */
    public static boolean getApplyLocalized() {

        return LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().getApplyLocalized();
    }

    /**
     * <p>Sets whether the pattern is localized or not.</p>
     *
     * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
     *
     * @param newApplyLocalized <code>true</code> if pattern is localized,
     * otherwise <code>false</code>
     * @see LocaleBeanUtilsBean#setApplyLocalized(boolean)
     */
    public static void setApplyLocalized(boolean newApplyLocalized) {

        LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().setApplyLocalized(newApplyLocalized);
    }


    // --------------------------------------------------------- Public Methods

    /**
     * <p>Return the value of the specified locale-sensitive indexed property
     * of the specified bean, as a String.</p>
     *
     * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
     *
     * @param bean Bean whose property is to be extracted
     * @param name <code>propertyname[index]</code> of the property value
     *  to be extracted
     * @param pattern The conversion pattern
     * @return The indexed property's value, converted to a String
     *
     * @exception IllegalAccessException if the caller does not have
     *  access to the property accessor method
     * @exception InvocationTargetException if the property accessor method
     *  throws an exception
     * @exception NoSuchMethodException if an accessor method for this
     *  propety cannot be found
     *
     * @see LocaleBeanUtilsBean#getIndexedProperty(Object, String, String)
     */
    public static String getIndexedProperty(Object bean, String name, String pattern)
            throws IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {

        return LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().getIndexedProperty(bean, name, pattern);
    }

    /**
     * Return the value of the specified locale-sensitive indexed property
     * of the specified bean, as a String using the default conversion pattern of
     * the corresponding {@link LocaleConverter}.
     *
     * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
     *
     * @param bean Bean whose property is to be extracted
     * @param name <code>propertyname[index]</code> of the property value
     *  to be extracted
     * @return The indexed property's value, converted to a String
     *
     * @exception IllegalAccessException if the caller does not have
     *  access to the property accessor method
     * @exception InvocationTargetException if the property accessor method
     *  throws an exception
     * @exception NoSuchMethodException if an accessor method for this
     *  propety cannot be found
     *
     * @see LocaleBeanUtilsBean#getIndexedProperty(Object, String)
     */
    public static String getIndexedProperty(Object bean, String name)
            throws IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {

        return LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().getIndexedProperty(bean, name);
    }

    /**
     * <p>Return the value of the specified locale-sensetive indexed property
     * of the specified bean, as a String using the specified conversion pattern.</p>
     *
     * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
     *
     * @param bean Bean whose property is to be extracted
     * @param name Simple property name of the property value to be extracted
     * @param index Index of the property value to be extracted
     * @param pattern The conversion pattern
     * @return The indexed property's value, converted to a String
     *
     * @exception IllegalAccessException if the caller does not have
     *  access to the property accessor method
     * @exception InvocationTargetException if the property accessor method
     *  throws an exception
     * @exception NoSuchMethodException if an accessor method for this
     *  propety cannot be found
     *
     * @see LocaleBeanUtilsBean#getIndexedProperty(Object, String, int, String)
     */
    public static String getIndexedProperty(Object bean,
                                            String name, int index, String pattern)
            throws IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {

        return LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().getIndexedProperty(bean, name, index, pattern);
    }

    /**
     * <p>Return the value of the specified locale-sensetive indexed property
     * of the specified bean, as a String using the default conversion pattern of
     * the corresponding {@link LocaleConverter}.</p>
     *
     * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
     *
     * @param bean Bean whose property is to be extracted
     * @param name Simple property name of the property value to be extracted
     * @param index Index of the property value to be extracted
     * @return The indexed property's value, converted to a String
     *
     * @exception IllegalAccessException if the caller does not have
     *  access to the property accessor method
     * @exception InvocationTargetException if the property accessor method
     *  throws an exception
     * @exception NoSuchMethodException if an accessor method for this
     *  propety cannot be found
     *
     * @see LocaleBeanUtilsBean#getIndexedProperty(Object, String, int)
     */
    public static String getIndexedProperty(Object bean,
                                            String name, int index)
            throws IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {
        return LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().getIndexedProperty(bean, name, index);
    }

    /**
     * <p>Return the value of the specified simple locale-sensitive property
     * of the specified bean, converted to a String using the specified
     * conversion pattern.</p>
     *
     * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
     *
     * @param bean Bean whose property is to be extracted
     * @param name Name of the property to be extracted
     * @param pattern The conversion pattern
     * @return The property's value, converted to a String
     *
     * @exception IllegalAccessException if the caller does not have
     *  access to the property accessor method
     * @exception InvocationTargetException if the property accessor method
     *  throws an exception
     * @exception NoSuchMethodException if an accessor method for this
     *  propety cannot be found
     *
     * @see LocaleBeanUtilsBean#getSimpleProperty(Object, String, String)
     */
    public static String getSimpleProperty(Object bean, String name, String pattern)
            throws IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {

        return LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().getSimpleProperty(bean, name, pattern);
    }

    /**
     * <p>Return the value of the specified simple locale-sensitive property
     * of the specified bean, converted to a String using the default
     * conversion pattern of the corresponding {@link LocaleConverter}.</p>
     *
     * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
     *
     * @param bean Bean whose property is to be extracted
     * @param name Name of the property to be extracted
     * @return The property's value, converted to a String
     *
     * @exception IllegalAccessException if the caller does not have
     *  access to the property accessor method

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲视频网在线直播| 一区二区不卡在线播放| 亚洲中国最大av网站| 岛国一区二区三区| 国产亚洲综合色| 国产一区二区三区av电影| 欧美放荡的少妇| 亚洲国产色一区| 中文字幕一区在线观看视频| 国内精品伊人久久久久av一坑| 欧美福利电影网| 午夜精品一区二区三区三上悠亚| 色婷婷精品久久二区二区蜜臂av| 最新日韩av在线| 欧美亚洲高清一区| 亚洲va在线va天堂| 日韩欧美一卡二卡| 国产91丝袜在线18| 欧美精品在欧美一区二区少妇| 国产精品高潮呻吟久久| 成人av动漫网站| 国产精品免费av| 91网上在线视频| 日韩高清在线不卡| 成人高清视频在线观看| 欧美日韩在线播放一区| 亚洲欧洲日产国码二区| 国产乱码精品一区二区三| 亚洲私人影院在线观看| 在线观看亚洲精品| 亚洲成av人综合在线观看| 欧美日韩夫妻久久| 日日夜夜免费精品| 久久你懂得1024| 成人av网站在线| 一区二区三区资源| 精品福利一二区| 欧美综合欧美视频| 懂色av一区二区三区蜜臀| 亚洲成国产人片在线观看| 精品日本一线二线三线不卡| 成人国产电影网| 看国产成人h片视频| 亚洲卡通动漫在线| 久久精品欧美一区二区三区不卡| 波多野结衣精品在线| 日韩制服丝袜av| 国产精品久久777777| 欧美一区二区三区免费在线看 | 国产精品免费视频观看| 欧美日韩一区高清| 成人小视频在线观看| 久久电影网站中文字幕| 亚洲欧美日韩国产综合| 欧美一区2区视频在线观看| 波多野结衣精品在线| 激情欧美一区二区| 图片区日韩欧美亚洲| 综合久久久久久| 国产精品第五页| 337p粉嫩大胆色噜噜噜噜亚洲| 777午夜精品视频在线播放| 在线观看成人小视频| www.欧美.com| 99久久夜色精品国产网站| 成人18视频日本| 成人精品在线视频观看| 粉嫩av一区二区三区粉嫩| 亚洲精品视频在线看| 国产精品久久久久久福利一牛影视| 国产精品乱码久久久久久 | 欧美午夜一区二区三区| 欧美另类一区二区三区| 日韩天堂在线观看| 精品精品欲导航| 在线电影一区二区三区| 欧美一区二区三区免费观看视频| 日韩欧美国产综合| 亚洲国产精品v| 亚洲一区二区三区四区在线免费观看 | 成人黄色综合网站| 欧美高清激情brazzers| 国产欧美一区二区在线| 亚洲成人免费视| 国产传媒欧美日韩成人| 欧美肥妇free| 亚洲人成小说网站色在线| 久久99九九99精品| 在线观看av不卡| 国产精品九色蝌蚪自拍| 日韩福利视频导航| 欧美亚洲综合色| 亚洲欧洲www| 国产成人三级在线观看| 国产欧美精品一区二区色综合| 91在线观看视频| 欧美无乱码久久久免费午夜一区 | 在线观看国产日韩| 久久久一区二区三区捆绑**| 日本不卡的三区四区五区| 在线观看国产日韩| 亚洲国产一区二区三区青草影视| 91丨porny丨户外露出| 亚洲婷婷在线视频| 波多野结衣精品在线| 中文字幕一区二区三区在线播放| 麻豆精品精品国产自在97香蕉| 欧美日韩电影在线| 亚洲成av人片在线观看无码| 欧美最新大片在线看| 亚洲精选视频在线| 欧美日韩国产小视频在线观看| 亚洲一区二区三区影院| 欧美日韩免费视频| 日韩电影在线观看电影| 精品久久久网站| 波多野结衣亚洲| 午夜欧美在线一二页| 久久网站热最新地址| 波多野结衣欧美| 亚洲线精品一区二区三区| 精品视频在线免费观看| 久久国产视频网| 国产午夜久久久久| 91久久精品一区二区二区| 天堂成人国产精品一区| 国产日产精品一区| 欧美三片在线视频观看| 国产不卡高清在线观看视频| 亚洲午夜影视影院在线观看| 久久理论电影网| 欧美三级韩国三级日本三斤| 国产精品正在播放| 午夜精品免费在线| 亚洲女女做受ⅹxx高潮| 久久蜜桃av一区二区天堂| 欧美视频在线播放| 播五月开心婷婷综合| 精品一区二区综合| 亚洲国产cao| 亚洲欧洲三级电影| 国产日本欧美一区二区| 日韩一区二区三| 欧美精品一级二级三级| 色婷婷综合久久久中文字幕| 国产福利精品一区二区| 国产中文字幕精品| 精品亚洲国产成人av制服丝袜| 亚洲高清不卡在线| 五月天欧美精品| 日本不卡的三区四区五区| 午夜一区二区三区视频| 日韩黄色一级片| 亚洲精品第一国产综合野| 国产精品久久久久婷婷| 国产精品传媒视频| 中文字幕日韩av资源站| 国产精品久久久久四虎| 中文字幕在线一区二区三区| 国产精品欧美极品| 亚洲美女视频在线| 亚洲综合免费观看高清完整版在线 | 99精品视频在线观看| 在线观看国产日韩| 欧美伦理电影网| 日韩精品中文字幕一区二区三区| 337p粉嫩大胆色噜噜噜噜亚洲| 日本一区二区三区高清不卡| 亚洲女子a中天字幕| 日本中文字幕一区二区视频| 韩国一区二区视频| 色婷婷综合久久久中文字幕| 91精品国产色综合久久| 久久久精品综合| 亚洲成在线观看| 99麻豆久久久国产精品免费优播| 欧美日韩电影在线播放| 国产精品天美传媒沈樵| 日本欧美久久久久免费播放网| 国产精品91xxx| 91行情网站电视在线观看高清版| 性做久久久久久免费观看欧美| 国产suv精品一区二区883| 在线观看一区不卡| 日韩一区中文字幕| 亚洲乱码日产精品bd| 视频在线观看一区| 成人91在线观看| 国产亚洲福利社区一区| 婷婷成人激情在线网| 91论坛在线播放| 国产精品视频麻豆| 黄一区二区三区| 日韩一区二区三区电影在线观看| 亚洲激情第一区| 色综合天天综合狠狠| 中文字幕视频一区二区三区久| 久久国产婷婷国产香蕉| 欧美大片在线观看一区| 亚洲3atv精品一区二区三区|