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

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

?? propertyutils.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;

import java.beans.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Map;

import org.apache.commons.collections.FastHashMap;


/**
 * <p>Utility methods for using Java Reflection APIs to facilitate generic
 * property getter and setter operations on Java objects.</p>
 *
 * <p>The implementations for these methods are provided by <code>PropertyUtilsBean</code>.
 * For more details see {@link PropertyUtilsBean}.</p>
 *
 * @author Craig R. McClanahan
 * @author Ralph Schaer
 * @author Chris Audley
 * @author Rey Francois
 * @author Gregor Rayman
 * @author Jan Sorensen
 * @author Scott Sanders
 * @version $Revision: 644137 $ $Date: 2008-04-03 03:30:23 +0100 (Thu, 03 Apr 2008) $
 * @see PropertyUtilsBean
 * @see org.apache.commons.beanutils.expression.Resolver
 */

public class PropertyUtils {


    // ----------------------------------------------------- Manifest Constants


    /**
     * The delimiter that preceeds the zero-relative subscript for an
     * indexed reference.
     *
     * @deprecated The notation used for property name expressions is now
     * dependant on the {@link org.apache.commons.beanutils.expression.Resolver}
     * implementation being used.
     */
    public static final char INDEXED_DELIM = '[';


    /**
     * The delimiter that follows the zero-relative subscript for an
     * indexed reference.
     *
     * @deprecated The notation used for property name expressions is now
     * dependant on the {@link org.apache.commons.beanutils.expression.Resolver}
     * implementation being used.
     */
    public static final char INDEXED_DELIM2 = ']';


    /**
     * The delimiter that preceeds the key of a mapped property.
     *
     * @deprecated The notation used for property name expressions is now
     * dependant on the {@link org.apache.commons.beanutils.expression.Resolver}
     * implementation being used.
     */
    public static final char MAPPED_DELIM = '(';


    /**
     * The delimiter that follows the key of a mapped property.
     *
     * @deprecated The notation used for property name expressions is now
     * dependant on the {@link org.apache.commons.beanutils.expression.Resolver}
     * implementation being used.
     */
    public static final char MAPPED_DELIM2 = ')';


    /**
     * The delimiter that separates the components of a nested reference.
     *
     * @deprecated The notation used for property name expressions is now
     * dependant on the {@link org.apache.commons.beanutils.expression.Resolver}
     * implementation being used.
     */
    public static final char NESTED_DELIM = '.';


    // ------------------------------------------------------- Static Variables


    /**
     * The debugging detail level for this component.
     * 
     * Note that this static variable will have unexpected side-effects if
     * this class is deployed in a shared classloader within a container.
     * However as it is actually completely ignored by this class due to its
     * deprecated status, it doesn't do any actual harm.
     *
     * @deprecated The <code>debug</code> static property is no longer used
     */
    private static int debug = 0;

    /**
     * The <code>debug</code> static property is no longer used
     * @return debug property
     * @deprecated The <code>debug</code> static property is no longer used
     */
    public static int getDebug() {
        return (debug);
    }

    /**
     * The <code>debug</code> static property is no longer used
     * @param newDebug debug property
     * @deprecated The <code>debug</code> static property is no longer used
     */
    public static void setDebug(int newDebug) {
        debug = newDebug;
    }

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


    /**
     * Clear any cached property descriptors information for all classes
     * loaded by any class loaders.  This is useful in cases where class
     * loaders are thrown away to implement class reloading.
     *
     * <p>For more details see <code>PropertyUtilsBean</code>.</p>
     *
     * @see PropertyUtilsBean#clearDescriptors  
     */
    public static void clearDescriptors() {

        PropertyUtilsBean.getInstance().clearDescriptors();

    }


    /**
     * <p>Copy property values from the "origin" bean to the "destination" bean
     * for all cases where the property names are the same (even though the
     * actual getter and setter methods might have been customized via
     * <code>BeanInfo</code> classes).</p>
     *
     * <p>For more details see <code>PropertyUtilsBean</code>.</p>
     *
     * @param dest Destination bean whose properties are modified
     * @param orig Origin bean whose properties are retrieved
     *
     * @exception IllegalAccessException if the caller does not have
     *  access to the property accessor method
     * @exception IllegalArgumentException if the <code>dest</code> or
     *  <code>orig</code> argument is null
     * @exception InvocationTargetException if the property accessor method
     *  throws an exception
     * @exception NoSuchMethodException if an accessor method for this
     *  propety cannot be found
     * @see PropertyUtilsBean#copyProperties  
     */
    public static void copyProperties(Object dest, Object orig)
            throws IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {

        PropertyUtilsBean.getInstance().copyProperties(dest, orig);
    }


    /**
     * <p>Return the entire set of properties for which the specified bean
     * provides a read method.</p>
     *
     * <p>For more details see <code>PropertyUtilsBean</code>.</p>
     *
     * @param bean Bean whose properties are to be extracted
     * @return The set of properties for the bean
     *
     * @exception IllegalAccessException if the caller does not have
     *  access to the property accessor method
     * @exception IllegalArgumentException if <code>bean</code> is null
     * @exception InvocationTargetException if the property accessor method
     *  throws an exception
     * @exception NoSuchMethodException if an accessor method for this
     *  propety cannot be found
     * @see PropertyUtilsBean#describe  
     */
    public static Map describe(Object bean)
            throws IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {

        return (PropertyUtilsBean.getInstance().describe(bean));

    }


    /**
     * <p>Return the value of the specified indexed property of the specified
     * bean, with no type conversions.</p>
     *
     * <p>For more details see <code>PropertyUtilsBean</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 value
     *
     * @exception IndexOutOfBoundsException if the specified index
     *  is outside the valid range for the underlying property
     * @exception IllegalAccessException if the caller does not have
     *  access to the property accessor method
     * @exception IllegalArgumentException if <code>bean</code> or
     *  <code>name</code> is null
     * @exception InvocationTargetException if the property accessor method
     *  throws an exception
     * @exception NoSuchMethodException if an accessor method for this
     *  propety cannot be found
     * @see PropertyUtilsBean#getIndexedProperty(Object,String)  
     */
    public static Object getIndexedProperty(Object bean, String name)
            throws IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {

        return (PropertyUtilsBean.getInstance().getIndexedProperty(bean, name));

    }


    /**
     * <p>Return the value of the specified indexed property of the specified
     * bean, with no type conversions.</p>
     *
     * <p>For more details see <code>PropertyUtilsBean</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 value
     *
     * @exception IndexOutOfBoundsException if the specified index
     *  is outside the valid range for the underlying property
     * @exception IllegalAccessException if the caller does not have
     *  access to the property accessor method
     * @exception IllegalArgumentException if <code>bean</code> or
     *  <code>name</code> is null
     * @exception InvocationTargetException if the property accessor method
     *  throws an exception
     * @exception NoSuchMethodException if an accessor method for this
     *  propety cannot be found
     * @see PropertyUtilsBean#getIndexedProperty(Object,String, int)  
     */
    public static Object getIndexedProperty(Object bean,
                                            String name, int index)
            throws IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {

        return (PropertyUtilsBean.getInstance().getIndexedProperty(bean, name, index));
    }


    /**
     * <p>Return the value of the specified mapped property of the
     * specified bean, with no type conversions.</p>
     *
     * <p>For more details see <code>PropertyUtilsBean</code>.</p>
     *
     * @param bean Bean whose property is to be extracted
     * @param name <code>propertyname(key)</code> of the property value
     *  to be extracted
     * @return the mapped property value
     *
     * @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 PropertyUtilsBean#getMappedProperty(Object,String)  
     */
    public static Object getMappedProperty(Object bean, String name)
            throws IllegalAccessException, InvocationTargetException,
            NoSuchMethodException {

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
波多野结衣在线一区| 91免费观看视频在线| 136国产福利精品导航| 337p亚洲精品色噜噜噜| 成人黄色av电影| 美日韩一区二区| 亚洲一区二区三区四区在线| 久久久蜜臀国产一区二区| 777奇米四色成人影色区| 91在线观看一区二区| 国产麻豆精品在线| 日韩成人免费电影| 亚洲图片有声小说| 亚洲色图视频网站| 国产欧美日韩久久| 久久久久久亚洲综合| 日韩视频在线一区二区| 欧美日韩一区成人| 日本韩国欧美在线| 91蝌蚪porny| 91在线精品一区二区| 波多野结衣中文字幕一区 | 成人av网站在线观看| 蜜臀va亚洲va欧美va天堂| 亚洲国产精品久久艾草纯爱| 亚洲免费观看高清完整版在线观看| 国产视频视频一区| 日韩欧美电影在线| 欧美成人猛片aaaaaaa| 日韩一级完整毛片| 日韩午夜三级在线| 日韩免费看的电影| 欧美电视剧在线观看完整版| 日韩午夜av一区| 精品人伦一区二区色婷婷| 精品理论电影在线观看| 欧美成人一区二区| 2023国产精品| 国产视频一区在线观看| 国产日产欧美精品一区二区三区| 久久久久成人黄色影片| 中文字幕欧美三区| 亚洲欧洲三级电影| 亚洲午夜久久久久久久久电影网| 亚洲一区二区黄色| 日韩精品1区2区3区| 久久电影国产免费久久电影 | 日本不卡在线视频| 免费在线视频一区| 精品无人区卡一卡二卡三乱码免费卡| 欧美96一区二区免费视频| 免费亚洲电影在线| 国产在线播精品第三| 丁香另类激情小说| 99精品视频在线播放观看| 在线视频你懂得一区| 欧美日韩一级视频| 精品免费国产一区二区三区四区| 久久久亚洲精品石原莉奈| 国产精品视频线看| 亚洲一卡二卡三卡四卡 | 国产一区二区伦理片| 国产aⅴ综合色| 97精品视频在线观看自产线路二| 欧美在线观看视频一区二区三区| 欧美日韩国产美女| 久久久久久久久久久电影| 亚洲欧美中日韩| 亚洲国产欧美日韩另类综合| 久久激情综合网| 99久久综合99久久综合网站| 欧美又粗又大又爽| 2024国产精品视频| 亚洲精品亚洲人成人网| 青青青伊人色综合久久| 国产1区2区3区精品美女| 欧美视频一区二区在线观看| 久久久亚洲精华液精华液精华液| 亚洲靠逼com| 国产综合成人久久大片91| 色综合久久久久综合| 欧美变态tickling挠脚心| 国产精品久久久久久久久搜平片| 日韩一区欧美二区| 白白色 亚洲乱淫| 日韩一区二区三区av| 亚洲欧洲成人av每日更新| 日韩电影免费一区| 色综合久久久久久久| 精品国产百合女同互慰| 亚洲国产精品一区二区www在线| 国产精品一区二区不卡| 欧美日韩精品一区二区三区蜜桃 | 调教+趴+乳夹+国产+精品| 丁香婷婷综合五月| 日韩一级二级三级| 亚洲欧美视频在线观看视频| 国内成+人亚洲+欧美+综合在线| 欧美亚洲国产一区在线观看网站| 久久久不卡影院| 蜜桃精品视频在线| 欧美日韩一区二区三区四区 | 8v天堂国产在线一区二区| 亚洲视频小说图片| 国产美女av一区二区三区| 欧美二区乱c少妇| 亚洲欧美日本韩国| 成人黄色片在线观看| 精品久久久久久最新网址| 五月婷婷久久丁香| 日本久久电影网| 日韩一区欧美小说| 高清shemale亚洲人妖| 精品国精品自拍自在线| 日韩电影免费在线观看网站| 欧美三级电影在线观看| 专区另类欧美日韩| 岛国av在线一区| 中文字幕巨乱亚洲| 国产精品亚洲一区二区三区在线| 日韩欧美国产综合一区| 免费av网站大全久久| 欧美日韩高清一区| 午夜欧美一区二区三区在线播放| 欧洲激情一区二区| 夜夜精品浪潮av一区二区三区| 99久久精品国产精品久久| 国产精品天天看| 成人av网站免费观看| 中文字幕一区二区三| 成a人片国产精品| 亚洲欧洲性图库| 91免费国产视频网站| 一区二区三区精品在线| 色综合久久久久久久久久久| 亚洲精品自拍动漫在线| 91成人在线观看喷潮| 亚洲成人免费视频| 欧美精品一级二级| 美洲天堂一区二卡三卡四卡视频 | 国产精品久久久久影院亚瑟 | aaa国产一区| 亚洲视频免费在线| 91国偷自产一区二区使用方法| 一区二区三区精品久久久| 色婷婷综合久久久| 亚洲va国产天堂va久久en| 3atv在线一区二区三区| 久草在线在线精品观看| 久久久不卡影院| 97se亚洲国产综合在线| 亚洲自拍偷拍麻豆| 91精品国产综合久久久蜜臀粉嫩| 久久国产夜色精品鲁鲁99| 久久久亚洲精品一区二区三区| 国产·精品毛片| 亚洲综合精品久久| 日韩一级黄色大片| 丰满亚洲少妇av| 亚洲午夜激情网站| 精品国产不卡一区二区三区| av在线一区二区| 午夜精品久久久久久久久久| 欧美成人一区二区三区片免费| 成人一级片在线观看| 一区二区三区鲁丝不卡| 日韩欧美一二三| www.99精品| 日韩激情在线观看| 国产喂奶挤奶一区二区三区| 色悠悠亚洲一区二区| 免费看日韩a级影片| 综合久久综合久久| 91精品欧美久久久久久动漫| 豆国产96在线|亚洲| 亚洲成人在线免费| 国产情人综合久久777777| 欧美日韩一级视频| 成人av在线资源网| 男人的j进女人的j一区| 成人免费在线播放视频| 日韩欧美电影一区| 在线观看视频一区| 国产高清在线精品| 视频在线观看国产精品| 欧美国产激情一区二区三区蜜月| 在线视频国内一区二区| 国产精品羞羞答答xxdd| 亚洲成人av福利| 国产精品久久久久婷婷二区次| 91精品国产色综合久久不卡蜜臀| 成人黄色综合网站| 狠狠色丁香久久婷婷综| 亚洲国产另类av| 亚洲欧洲另类国产综合| 五月婷婷色综合| 中文字幕在线不卡一区二区三区| 日韩欧美在线综合网| 91色乱码一区二区三区| 国产在线精品一区二区不卡了|