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

📄 introspector.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD><B>Methods inherited from class java.lang.<A HREF="../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="USE_ALL_BEANINFO"><!-- --></A><H3>USE_ALL_BEANINFO</H3><PRE>public static final int <B>USE_ALL_BEANINFO</B></PRE><DL></DL><HR><A NAME="IGNORE_IMMEDIATE_BEANINFO"><!-- --></A><H3>IGNORE_IMMEDIATE_BEANINFO</H3><PRE>public static final int <B>IGNORE_IMMEDIATE_BEANINFO</B></PRE><DL></DL><HR><A NAME="IGNORE_ALL_BEANINFO"><!-- --></A><H3>IGNORE_ALL_BEANINFO</H3><PRE>public static final int <B>IGNORE_ALL_BEANINFO</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getBeanInfo(java.lang.Class)"><!-- --></A><H3>getBeanInfo</H3><PRE>public static <A HREF="../../java/beans/BeanInfo.html">BeanInfo</A> <B>getBeanInfo</B>(<A HREF="../../java/lang/Class.html">Class</A>&nbsp;beanClass)                            throws <A HREF="../../java/beans/IntrospectionException.html">IntrospectionException</A></PRE><DL><DD>Introspect on a Java bean and learn about all its properties, exposed methods, and events.<DD><DL><DT><B>Parameters:</B><DD><CODE>beanClass</CODE> - The bean class to be analyzed.<DT><B>Returns:</B><DD>A BeanInfo object describing the target bean.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/beans/IntrospectionException.html">IntrospectionException</A></CODE> - if an exception occurs during              introspection.</DL></DD></DL><HR><A NAME="getBeanInfo(java.lang.Class, int)"><!-- --></A><H3>getBeanInfo</H3><PRE>public static <A HREF="../../java/beans/BeanInfo.html">BeanInfo</A> <B>getBeanInfo</B>(<A HREF="../../java/lang/Class.html">Class</A>&nbsp;beanClass,                                   int&nbsp;flags)                            throws <A HREF="../../java/beans/IntrospectionException.html">IntrospectionException</A></PRE><DL><DD>Introspect on a Java bean and learn about all its properties, exposed methods, and events, subject to some control flags.<DD><DL><DT><B>Parameters:</B><DD><CODE>beanClass</CODE> - The bean class to be analyzed.<DD><CODE>flags</CODE> - Flags to control the introspection.     If flags == USE_ALL_BEANINFO then we use all of the BeanInfo	 	classes we can discover.     If flags == IGNORE_IMMEDIATE_BEANINFO then we ignore any           BeanInfo associated with the specified beanClass.     If flags == IGNORE_ALL_BEANINFO then we ignore all BeanInfo           associated with the specified beanClass or any of its		 parent classes.<DT><B>Returns:</B><DD>A BeanInfo object describing the target bean.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/beans/IntrospectionException.html">IntrospectionException</A></CODE> - if an exception occurs during              introspection.</DL></DD></DL><HR><A NAME="getBeanInfo(java.lang.Class, java.lang.Class)"><!-- --></A><H3>getBeanInfo</H3><PRE>public static <A HREF="../../java/beans/BeanInfo.html">BeanInfo</A> <B>getBeanInfo</B>(<A HREF="../../java/lang/Class.html">Class</A>&nbsp;beanClass,                                   <A HREF="../../java/lang/Class.html">Class</A>&nbsp;stopClass)                            throws <A HREF="../../java/beans/IntrospectionException.html">IntrospectionException</A></PRE><DL><DD>Introspect on a Java bean and learn all about its properties, exposed methods, below a given "stop" point.<DD><DL><DT><B>Parameters:</B><DD><CODE>bean</CODE> - The bean class to be analyzed.<DD><CODE>stopClass</CODE> - The baseclass at which to stop the analysis.  Any    methods/properties/events in the stopClass or in its baseclasses    will be ignored in the analysis.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/beans/IntrospectionException.html">IntrospectionException</A></CODE> - if an exception occurs during              introspection.</DL></DD></DL><HR><A NAME="decapitalize(java.lang.String)"><!-- --></A><H3>decapitalize</H3><PRE>public static <A HREF="../../java/lang/String.html">String</A> <B>decapitalize</B>(<A HREF="../../java/lang/String.html">String</A>&nbsp;name)</PRE><DL><DD>Utility method to take a string and convert it to normal Java variable name capitalization.  This normally means converting the first character from upper case to lower case, but in the (unusual) special case when there is more than one character and both the first and second characters are upper case, we leave it alone. <p> Thus "FooBah" becomes "fooBah" and "X" becomes "x", but "URL" stays as "URL".<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The string to be decapitalized.<DT><B>Returns:</B><DD>The decapitalized version of the string.</DL></DD></DL><HR><A NAME="getBeanInfoSearchPath()"><!-- --></A><H3>getBeanInfoSearchPath</H3><PRE>public static <A HREF="../../java/lang/String.html">String</A>[] <B>getBeanInfoSearchPath</B>()</PRE><DL><DD>Gets the list of package names that will be used for		finding BeanInfo classes.<DD><DL><DT><B>Returns:</B><DD>The array of package names that will be searched in		order to find BeanInfo classes. <p>     This is initially set to {"sun.beans.infos"}.</DL></DD></DL><HR><A NAME="setBeanInfoSearchPath(java.lang.String[])"><!-- --></A><H3>setBeanInfoSearchPath</H3><PRE>public static void <B>setBeanInfoSearchPath</B>(<A HREF="../../java/lang/String.html">String</A>[]&nbsp;path)</PRE><DL><DD>Change the list of package names that will be used for		finding BeanInfo classes.  <p>First, if there is a security manager, its <code>checkPropertiesAccess</code>  method is called. This could result in a SecurityException.<DD><DL><DT><B>Parameters:</B><DD><CODE>path</CODE> - Array of package names.<DT><B>Throws:</B><DD><CODE><A HREF="../../java/lang/SecurityException.html">SecurityException</A></CODE> - if a security manager exists and its               <code>checkPropertiesAccess</code> method doesn't allow setting              of system properties.<DT><B>See Also: </B><DD><A HREF="../../java/lang/SecurityManager.html#checkPropertiesAccess()"><CODE>SecurityManager.checkPropertiesAccess()</CODE></A></DL></DD></DL><HR><A NAME="flushCaches()"><!-- --></A><H3>flushCaches</H3><PRE>public static void <B>flushCaches</B>()</PRE><DL><DD>Flush all of the Introspector's internal caches.  This method is not normally required.  It is normally only needed by advanced tools that update existing "Class" objects in-place and need to make the Introspector re-analyze existing Class objects.</DL><HR><A NAME="flushFromCaches(java.lang.Class)"><!-- --></A><H3>flushFromCaches</H3><PRE>public static void <B>flushFromCaches</B>(<A HREF="../../java/lang/Class.html">Class</A>&nbsp;clz)</PRE><DL><DD>Flush the Introspector's internal cached information for a given class. This method is not normally required.  It is normally only needed by advanced tools that update existing "Class" objects in-place and need to make the Introspector re-analyze an existing Class object. Note that only the direct state associated with the target Class object is flushed.  We do not flush state for other Class objects with the same name, nor do we flush state for any related Class objects (such as subclasses), even though their state may include information indirectly obtained from the target Class object.<DD><DL><DT><B>Parameters:</B><DD><CODE>clz</CODE> - Class object to be flushed.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Introspector.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../java/beans/IndexedPropertyDescriptor.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../java/beans/MethodDescriptor.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Introspector.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

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