亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
热久久免费视频| 狠狠色狠狠色综合系列| 日韩女同互慰一区二区| 99久久精品国产观看| 视频一区视频二区中文| 中文字幕亚洲综合久久菠萝蜜| 欧美一级黄色大片| 91麻豆视频网站| 丁香婷婷综合激情五月色| 日日夜夜精品视频天天综合网| 国产欧美日韩精品a在线观看| 欧美三级电影在线看| 粗大黑人巨茎大战欧美成人| 日韩高清电影一区| 亚洲免费观看高清在线观看| 国产调教视频一区| 欧美日韩色一区| 色综合久久综合网97色综合| 国产成+人+日韩+欧美+亚洲| 老司机免费视频一区二区| 亚洲一区二区三区免费视频| 《视频一区视频二区| 国产拍揄自揄精品视频麻豆| 欧美tickling挠脚心丨vk| 欧美性极品少妇| 在线欧美日韩精品| 99久久国产综合精品色伊| 成人免费毛片嘿嘿连载视频| 精品一区二区三区在线视频| 奇米影视在线99精品| 午夜久久久影院| 一区二区日韩av| 一区二区三区免费看视频| 亚洲欧美激情在线| 中文字幕一区二区三区在线播放 | 精品久久免费看| 91精品国产综合久久精品app| 欧美在线免费观看亚洲| 色噜噜狠狠色综合中国| 在线观看精品一区| 色婷婷久久99综合精品jk白丝| 不卡电影一区二区三区| a4yy欧美一区二区三区| av亚洲精华国产精华精| 91色综合久久久久婷婷| 在线亚洲+欧美+日本专区| 亚洲精品一区二区在线观看| 欧美剧情片在线观看| 欧美电影一区二区| 日韩欧美国产精品一区| 欧美精品一区二区三区蜜臀| 久久免费精品国产久精品久久久久| 久久久综合网站| 国产欧美日韩在线视频| 亚洲裸体xxx| 亚洲国产综合色| 日韩av一区二区三区四区| 麻豆国产欧美一区二区三区| 精品亚洲国内自在自线福利| 国产成人福利片| 91丨porny丨国产入口| 欧美日韩一区二区三区不卡| 日韩亚洲欧美成人一区| 久久久99久久| 亚洲男同1069视频| 婷婷久久综合九色国产成人| 久久精品久久99精品久久| 国产福利一区二区三区视频在线 | 欧美丰满一区二区免费视频| 日韩欧美中文一区二区| 国产欧美一区二区精品秋霞影院| 亚洲欧美综合色| 五月婷婷综合激情| 国产一区二区调教| 99热这里都是精品| 欧美一区三区四区| 国产欧美日韩在线看| 亚洲国产日日夜夜| 国产一区二区三区蝌蚪| 99热这里都是精品| 欧美不卡123| 中文字幕一区二区三区蜜月| 五月激情综合婷婷| 成人国产一区二区三区精品| 欧美日韩一区高清| 中文字幕精品—区二区四季| 婷婷开心久久网| 成人av网站大全| 91精品国产91久久综合桃花 | 欧美高清激情brazzers| 久久亚洲捆绑美女| 亚洲国产精品视频| 成人开心网精品视频| 91精品福利在线一区二区三区| 国产精品久久久久天堂| 另类欧美日韩国产在线| 欧美一a一片一级一片| 中文字幕欧美国产| 狠狠网亚洲精品| 欧美美女一区二区在线观看| 欧美激情在线看| 老司机午夜精品99久久| 欧美偷拍一区二区| 日韩毛片一二三区| 国产成人免费网站| 日韩免费电影一区| 丁香六月久久综合狠狠色| 欧美日韩一区高清| 亚洲免费电影在线| 丰满放荡岳乱妇91ww| 久久这里只有精品6| 免费观看一级欧美片| 在线一区二区三区做爰视频网站| 日本一区二区三区电影| 久草在线在线精品观看| 欧美在线不卡视频| 亚洲六月丁香色婷婷综合久久 | 国产毛片精品国产一区二区三区| 欧美挠脚心视频网站| 亚洲欧美另类久久久精品| 9l国产精品久久久久麻豆| 久久免费精品国产久精品久久久久| 丝袜亚洲另类丝袜在线| 欧美日韩亚洲综合在线| 中文字幕一区二区在线观看| 成人免费va视频| 国产人成一区二区三区影院| 国产福利不卡视频| 久久婷婷国产综合国色天香| 看片的网站亚洲| 日韩欧美一级片| 蜜桃av噜噜一区| 日韩一级视频免费观看在线| 亚洲电影一区二区| 欧美视频三区在线播放| 午夜一区二区三区视频| 欧美日韩一级二级三级| 五月婷婷久久综合| 制服丝袜中文字幕亚洲| 秋霞国产午夜精品免费视频| 在线成人免费观看| 奇米影视在线99精品| 欧美精品一区二区三区很污很色的| 久久99精品国产91久久来源| 久久一二三国产| 成人av资源站| 亚洲精品成人悠悠色影视| 欧美午夜精品久久久久久孕妇| 性欧美大战久久久久久久久| 欧美人妇做爰xxxⅹ性高电影| 日日噜噜夜夜狠狠视频欧美人| 欧美一区二区日韩| 激情小说亚洲一区| 中文字幕乱码亚洲精品一区| 91免费国产在线观看| 亚洲影视在线播放| 日韩一区二区三区观看| 国产成人午夜99999| **网站欧美大片在线观看| 欧美中文一区二区三区| 丝袜美腿亚洲综合| 精品久久久三级丝袜| 成人午夜短视频| 亚洲国产wwwccc36天堂| 欧美白人最猛性xxxxx69交| 国产成人99久久亚洲综合精品| 亚洲精品免费看| 日韩亚洲欧美综合| 成人激情av网| 亚洲va欧美va人人爽| 精品国产一区二区三区四区四| 国产成人精品影视| 一区二区国产视频| 日韩一级黄色大片| 99久久精品免费看| 免费看日韩a级影片| 国产日产精品一区| 欧美性受xxxx黑人xyx| 九九**精品视频免费播放| 综合网在线视频| 欧美一区二区三区免费大片 | 91精品国产91久久久久久一区二区| 国产伦精一区二区三区| 亚洲另类色综合网站| 精品成人一区二区| 91丝袜高跟美女视频| 久久成人av少妇免费| 亚洲美女区一区| 久久久亚洲精华液精华液精华液| 99re视频精品| 紧缚捆绑精品一区二区| 一区二区三区精品视频在线| 久久网站最新地址| 欧美日韩日日夜夜| 国产老女人精品毛片久久| 亚洲综合激情网| 国产精品视频九色porn| 日韩女优毛片在线| 欧美日韩国产成人在线免费| 成人成人成人在线视频|