⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 beaninfoutil.java

📁 webwork source
💻 JAVA
字号:
/* * WebWork, web application framework * * Distributable under Apache license. * See terms of license at opensource.org */package webwork.util;import java.beans.BeanInfo;import java.beans.IntrospectionException;import java.beans.Introspector;/** *	Get the java.beans.BeanInfo object for a given object * *	@see java.beans.BeanInfo *	@author Rickard 謆erg (rickard@middleware-company.com) *	@version $Revision: 1.7 $ */public class BeanInfoUtil{   // Attributes ----------------------------------------------------   Object bean;   // Public --------------------------------------------------------	/**	 * The object whose BeanInfo should be retrieved	 */   public void setBean(Object aBean)   {      bean = aBean;   }   public BeanInfo getBeanInfo()      throws IntrospectionException   {      return Introspector.getBeanInfo(bean.getClass(), Object.class);   }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -