| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:56:49 PDT 2006 --> |
| <TITLE> |
| JavaUtils (Axis API) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.axis.utils.JavaUtils class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="JavaUtils (Axis API)"; |
| } |
| </SCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JavaUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/axis/utils/IOUtils.html" title="class in org.apache.axis.utils"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/axis/utils/JWSClassLoader.html" title="class in org.apache.axis.utils"><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> |
| <A HREF="JavaUtils.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.axis.utils</FONT> |
| <BR> |
| Class JavaUtils</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.axis.utils.JavaUtils</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT>public class <B>JavaUtils</B><DT>extends java.lang.Object</DL> |
| |
| <P> |
| Utility class to deal with Java language related issues, such |
| as type conversions. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Author:</B></DT> |
| <DD>Glen Daniels (gdaniels@apache.org)</DD> |
| </DL> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| <A NAME="nested_class_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Nested Class Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static interface</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.ConvertCache.html" title="interface in org.apache.axis.utils">JavaUtils.ConvertCache</A></B></CODE> |
| |
| <BR> |
| It the argument to the convert(...) method implements |
| the ConvertCache interface, the convert(...) method |
| will use the set/get methods to store and retrieve |
| converted values.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.HolderException.html" title="class in org.apache.axis.utils">JavaUtils.HolderException</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static char</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#CR">CR</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static org.apache.commons.logging.Log</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#log">log</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#LS">LS</A></B></CODE> |
| |
| <BR> |
| The prefered line separator</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static char</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#NL">NL</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#convert(java.lang.Object, java.lang.Class)">convert</A></B>(java.lang.Object arg, |
| java.lang.Class destClass)</CODE> |
| |
| <BR> |
| Utility function to convert an Object to some desired Class.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Object</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#getHolderValue(java.lang.Object)">getHolderValue</A></B>(java.lang.Object holder)</CODE> |
| |
| <BR> |
| Gets the Holder value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#getHolderValueType(java.lang.Class)">getHolderValueType</A></B>(java.lang.Class type)</CODE> |
| |
| <BR> |
| Determines if the Class is a Holder class.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.awt.Image</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#getImageFromStream(java.io.InputStream)">getImageFromStream</A></B>(java.io.InputStream is)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#getLoadableClassName(java.lang.String)">getLoadableClassName</A></B>(java.lang.String text)</CODE> |
| |
| <BR> |
| Converts text of the form |
| Foo[] to the proper class name for loading [LFoo</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#getPrimitiveClass(java.lang.Class)">getPrimitiveClass</A></B>(java.lang.Class wrapper)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#getPrimitiveClassFromName(java.lang.String)">getPrimitiveClassFromName</A></B>(java.lang.String primitive)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#getTextClassName(java.lang.String)">getTextClassName</A></B>(java.lang.String text)</CODE> |
| |
| <BR> |
| Converts text of the form |
| [LFoo to the Foo[]</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#getUniqueValue(java.util.Collection, java.lang.String)">getUniqueValue</A></B>(java.util.Collection values, |
| java.lang.String initValue)</CODE> |
| |
| <BR> |
| Makes the value passed in <code>initValue</code> unique among the |
| <CODE>String</CODE> values contained in <code>values</code> by suffixing |
| it with a decimal digit suffix.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#getWrapper(java.lang.String)">getWrapper</A></B>(java.lang.String primitive)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Class</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#getWrapperClass(java.lang.Class)">getWrapperClass</A></B>(java.lang.Class primitive)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isAttachmentSupported()">isAttachmentSupported</A></B>()</CODE> |
| |
| <BR> |
| Determine whether attachments are supported by checking if the following |
| classes are available: javax.activation.DataHandler, |
| javax.mail.internet.MimeMultipart.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isBasic(java.lang.Class)">isBasic</A></B>(java.lang.Class javaType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isConvertable(java.lang.Object, java.lang.Class)">isConvertable</A></B>(java.lang.Object obj, |
| java.lang.Class dest)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isConvertable(java.lang.Object, java.lang.Class, boolean)">isConvertable</A></B>(java.lang.Object obj, |
| java.lang.Class dest, |
| boolean isEncoded)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isEnumClass(java.lang.Class)">isEnumClass</A></B>(java.lang.Class cls)</CODE> |
| |
| <BR> |
| Determine if the class is a JAX-RPC enum class.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isFalse(java.lang.Object)">isFalse</A></B>(java.lang.Object value)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isFalse(java.lang.Object, boolean)">isFalse</A></B>(java.lang.Object value, |
| boolean defaultVal)</CODE> |
| |
| <BR> |
| Tests the Object 'value': |
| if its null, return default.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isFalse(java.lang.String)">isFalse</A></B>(java.lang.String value)</CODE> |
| |
| <BR> |
| Tests the String 'value': |
| return 'true' if its 'false', '0', or 'no' - else 'false' |
| |
| Follow in 'C' tradition of boolean values: |
| false is specific (0), everything else is true;</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isFalseExplicitly(java.lang.Object)">isFalseExplicitly</A></B>(java.lang.Object value)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isFalseExplicitly(java.lang.Object, boolean)">isFalseExplicitly</A></B>(java.lang.Object value, |
| boolean defaultVal)</CODE> |
| |
| <BR> |
| Tests the Object 'value': |
| if its null, return default.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isFalseExplicitly(java.lang.String)">isFalseExplicitly</A></B>(java.lang.String value)</CODE> |
| |
| <BR> |
| Tests the String 'value': |
| return 'true' if its null, 'false', '0', or 'no' - else 'false'</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isJavaId(java.lang.String)">isJavaId</A></B>(java.lang.String id)</CODE> |
| |
| <BR> |
| isJavaId |
| Returns true if the name is a valid java identifier.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isJavaKeyword(java.lang.String)">isJavaKeyword</A></B>(java.lang.String keyword)</CODE> |
| |
| <BR> |
| checks if the input string is a valid java keyword.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isTrue(java.lang.Object)">isTrue</A></B>(java.lang.Object value)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isTrue(java.lang.Object, boolean)">isTrue</A></B>(java.lang.Object value, |
| boolean defaultVal)</CODE> |
| |
| <BR> |
| Tests the Object 'value': |
| if its null, return default.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isTrue(java.lang.String)">isTrue</A></B>(java.lang.String value)</CODE> |
| |
| <BR> |
| Tests the String 'value': |
| return 'false' if its 'false', '0', or 'no' - else 'true' |
| |
| Follow in 'C' tradition of boolean values: |
| false is specific (0), everything else is true;</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isTrueExplicitly(java.lang.Object)">isTrueExplicitly</A></B>(java.lang.Object value)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isTrueExplicitly(java.lang.Object, boolean)">isTrueExplicitly</A></B>(java.lang.Object value, |
| boolean defaultVal)</CODE> |
| |
| <BR> |
| Tests the Object 'value': |
| if its null, return default.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#isTrueExplicitly(java.lang.String)">isTrueExplicitly</A></B>(java.lang.String value)</CODE> |
| |
| <BR> |
| Tests the String 'value': |
| return 'true' if its 'true', '1', or 'yes' - else 'false'</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#makeNonJavaKeyword(java.lang.String)">makeNonJavaKeyword</A></B>(java.lang.String keyword)</CODE> |
| |
| <BR> |
| Turn a java keyword string into a non-Java keyword string.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#mimeToJava(java.lang.String)">mimeToJava</A></B>(java.lang.String mime)</CODE> |
| |
| <BR> |
| Given the MIME type string, return the Java mapping.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#replace(java.lang.String, java.lang.String, java.lang.String)">replace</A></B>(java.lang.String name, |
| java.lang.String oldT, |
| java.lang.String newT)</CODE> |
| |
| <BR> |
| replace: |
| Like String.replace except that the old new items are strings.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#setHolderValue(java.lang.Object, java.lang.Object)">setHolderValue</A></B>(java.lang.Object holder, |
| java.lang.Object value)</CODE> |
| |
| <BR> |
| Sets the Holder value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#stackToString(java.lang.Throwable)">stackToString</A></B>(java.lang.Throwable e)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/utils/JavaUtils.html#xmlNameToJava(java.lang.String)">xmlNameToJava</A></B>(java.lang.String name)</CODE> |
| |
| <BR> |
| Map an XML name to a Java identifier per |
| the mapping rules of JSR 101 (in version 1.0 this is |
| "Chapter 20: Appendix: Mapping of XML Names"</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Methods inherited from class java.lang.Object</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="log"><!-- --></A><H3> |
| log</H3> |
| <PRE> |
| protected static org.apache.commons.logging.Log <B>log</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="NL"><!-- --></A><H3> |
| NL</H3> |
| <PRE> |
| public static final char <B>NL</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.axis.utils.JavaUtils.NL">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CR"><!-- --></A><H3> |
| CR</H3> |
| <PRE> |
| public static final char <B>CR</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.axis.utils.JavaUtils.CR">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="LS"><!-- --></A><H3> |
| LS</H3> |
| <PRE> |
| public static final java.lang.String <B>LS</B></PRE> |
| <DL> |
| <DD>The prefered line separator |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="getWrapperClass(java.lang.Class)"><!-- --></A><H3> |
| getWrapperClass</H3> |
| <PRE> |
| public static java.lang.Class <B>getWrapperClass</B>(java.lang.Class primitive)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getWrapper(java.lang.String)"><!-- --></A><H3> |
| getWrapper</H3> |
| <PRE> |
| public static java.lang.String <B>getWrapper</B>(java.lang.String primitive)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPrimitiveClass(java.lang.Class)"><!-- --></A><H3> |
| getPrimitiveClass</H3> |
| <PRE> |
| public static java.lang.Class <B>getPrimitiveClass</B>(java.lang.Class wrapper)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPrimitiveClassFromName(java.lang.String)"><!-- --></A><H3> |
| getPrimitiveClassFromName</H3> |
| <PRE> |
| public static java.lang.Class <B>getPrimitiveClassFromName</B>(java.lang.String primitive)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isBasic(java.lang.Class)"><!-- --></A><H3> |
| isBasic</H3> |
| <PRE> |
| public static boolean <B>isBasic</B>(java.lang.Class javaType)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="convert(java.lang.Object, java.lang.Class)"><!-- --></A><H3> |
| convert</H3> |
| <PRE> |
| public static java.lang.Object <B>convert</B>(java.lang.Object arg, |
| java.lang.Class destClass)</PRE> |
| <DL> |
| <DD>Utility function to convert an Object to some desired Class. |
| |
| Right now this works for: |
| arrays <-> Lists, |
| Holders <-> held values |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>arg</CODE> - the array to convert<DD><CODE>destClass</CODE> - the actual class we want</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isConvertable(java.lang.Object, java.lang.Class)"><!-- --></A><H3> |
| isConvertable</H3> |
| <PRE> |
| public static boolean <B>isConvertable</B>(java.lang.Object obj, |
| java.lang.Class dest)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isConvertable(java.lang.Object, java.lang.Class, boolean)"><!-- --></A><H3> |
| isConvertable</H3> |
| <PRE> |
| public static boolean <B>isConvertable</B>(java.lang.Object obj, |
| java.lang.Class dest, |
| boolean isEncoded)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getImageFromStream(java.io.InputStream)"><!-- --></A><H3> |
| getImageFromStream</H3> |
| <PRE> |
| public static java.awt.Image <B>getImageFromStream</B>(java.io.InputStream is)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isJavaId(java.lang.String)"><!-- --></A><H3> |
| isJavaId</H3> |
| <PRE> |
| public static boolean <B>isJavaId</B>(java.lang.String id)</PRE> |
| <DL> |
| <DD>isJavaId |
| Returns true if the name is a valid java identifier. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>id</CODE> - to check |
| <DT><B>Returns:</B><DD>boolean true/false</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isJavaKeyword(java.lang.String)"><!-- --></A><H3> |
| isJavaKeyword</H3> |
| <PRE> |
| public static boolean <B>isJavaKeyword</B>(java.lang.String keyword)</PRE> |
| <DL> |
| <DD>checks if the input string is a valid java keyword. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>boolean true/false</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="makeNonJavaKeyword(java.lang.String)"><!-- --></A><H3> |
| makeNonJavaKeyword</H3> |
| <PRE> |
| public static java.lang.String <B>makeNonJavaKeyword</B>(java.lang.String keyword)</PRE> |
| <DL> |
| <DD>Turn a java keyword string into a non-Java keyword string. (Right now |
| this simply means appending an underscore.) |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLoadableClassName(java.lang.String)"><!-- --></A><H3> |
| getLoadableClassName</H3> |
| <PRE> |
| public static java.lang.String <B>getLoadableClassName</B>(java.lang.String text)</PRE> |
| <DL> |
| <DD>Converts text of the form |
| Foo[] to the proper class name for loading [LFoo |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTextClassName(java.lang.String)"><!-- --></A><H3> |
| getTextClassName</H3> |
| <PRE> |
| public static java.lang.String <B>getTextClassName</B>(java.lang.String text)</PRE> |
| <DL> |
| <DD>Converts text of the form |
| [LFoo to the Foo[] |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="xmlNameToJava(java.lang.String)"><!-- --></A><H3> |
| xmlNameToJava</H3> |
| <PRE> |
| public static java.lang.String <B>xmlNameToJava</B>(java.lang.String name)</PRE> |
| <DL> |
| <DD>Map an XML name to a Java identifier per |
| the mapping rules of JSR 101 (in version 1.0 this is |
| "Chapter 20: Appendix: Mapping of XML Names" |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - is the xml name |
| <DT><B>Returns:</B><DD>the java name per JSR 101 specification</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="replace(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| replace</H3> |
| <PRE> |
| public static final java.lang.String <B>replace</B>(java.lang.String name, |
| java.lang.String oldT, |
| java.lang.String newT)</PRE> |
| <DL> |
| <DD>replace: |
| Like String.replace except that the old new items are strings. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - string<DD><CODE>oldT</CODE> - old text to replace<DD><CODE>newT</CODE> - new text to use |
| <DT><B>Returns:</B><DD>replacement string</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getHolderValueType(java.lang.Class)"><!-- --></A><H3> |
| getHolderValueType</H3> |
| <PRE> |
| public static java.lang.Class <B>getHolderValueType</B>(java.lang.Class type)</PRE> |
| <DL> |
| <DD>Determines if the Class is a Holder class. If so returns Class of held type |
| else returns null |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - the suspected Holder Class |
| <DT><B>Returns:</B><DD>class of held type or null</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getHolderValue(java.lang.Object)"><!-- --></A><H3> |
| getHolderValue</H3> |
| <PRE> |
| public static java.lang.Object <B>getHolderValue</B>(java.lang.Object holder) |
| throws <A HREF="../../../../org/apache/axis/utils/JavaUtils.HolderException.html" title="class in org.apache.axis.utils">JavaUtils.HolderException</A></PRE> |
| <DL> |
| <DD>Gets the Holder value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>holder</CODE> - Holder object |
| <DT><B>Returns:</B><DD>value object |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/axis/utils/JavaUtils.HolderException.html" title="class in org.apache.axis.utils">JavaUtils.HolderException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setHolderValue(java.lang.Object, java.lang.Object)"><!-- --></A><H3> |
| setHolderValue</H3> |
| <PRE> |
| public static void <B>setHolderValue</B>(java.lang.Object holder, |
| java.lang.Object value) |
| throws <A HREF="../../../../org/apache/axis/utils/JavaUtils.HolderException.html" title="class in org.apache.axis.utils">JavaUtils.HolderException</A></PRE> |
| <DL> |
| <DD>Sets the Holder value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>holder</CODE> - Holder object<DD><CODE>value</CODE> - is the object value |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/axis/utils/JavaUtils.HolderException.html" title="class in org.apache.axis.utils">JavaUtils.HolderException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isEnumClass(java.lang.Class)"><!-- --></A><H3> |
| isEnumClass</H3> |
| <PRE> |
| public static boolean <B>isEnumClass</B>(java.lang.Class cls)</PRE> |
| <DL> |
| <DD>Determine if the class is a JAX-RPC enum class. |
| An enumeration class is recognized by |
| a getValue() method, a toString() method, a fromString(String) method |
| a fromValue(type) method and the lack |
| of a setValue(type) method |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="stackToString(java.lang.Throwable)"><!-- --></A><H3> |
| stackToString</H3> |
| <PRE> |
| public static java.lang.String <B>stackToString</B>(java.lang.Throwable e)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTrue(java.lang.String)"><!-- --></A><H3> |
| isTrue</H3> |
| <PRE> |
| public static final boolean <B>isTrue</B>(java.lang.String value)</PRE> |
| <DL> |
| <DD>Tests the String 'value': |
| return 'false' if its 'false', '0', or 'no' - else 'true' |
| |
| Follow in 'C' tradition of boolean values: |
| false is specific (0), everything else is true; |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTrueExplicitly(java.lang.String)"><!-- --></A><H3> |
| isTrueExplicitly</H3> |
| <PRE> |
| public static final boolean <B>isTrueExplicitly</B>(java.lang.String value)</PRE> |
| <DL> |
| <DD>Tests the String 'value': |
| return 'true' if its 'true', '1', or 'yes' - else 'false' |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTrueExplicitly(java.lang.Object, boolean)"><!-- --></A><H3> |
| isTrueExplicitly</H3> |
| <PRE> |
| public static final boolean <B>isTrueExplicitly</B>(java.lang.Object value, |
| boolean defaultVal)</PRE> |
| <DL> |
| <DD>Tests the Object 'value': |
| if its null, return default. |
| if its a Boolean, return booleanValue() |
| if its an Integer, return 'false' if its '0' else 'true' |
| if its a String, return isTrueExplicitly((String)value). |
| All other types return 'true' |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTrueExplicitly(java.lang.Object)"><!-- --></A><H3> |
| isTrueExplicitly</H3> |
| <PRE> |
| public static final boolean <B>isTrueExplicitly</B>(java.lang.Object value)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTrue(java.lang.Object, boolean)"><!-- --></A><H3> |
| isTrue</H3> |
| <PRE> |
| public static final boolean <B>isTrue</B>(java.lang.Object value, |
| boolean defaultVal)</PRE> |
| <DL> |
| <DD>Tests the Object 'value': |
| if its null, return default. |
| if its a Boolean, return booleanValue() |
| if its an Integer, return 'false' if its '0' else 'true' |
| if its a String, return 'false' if its 'false', 'no', or '0' - else 'true' |
| All other types return 'true' |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTrue(java.lang.Object)"><!-- --></A><H3> |
| isTrue</H3> |
| <PRE> |
| public static final boolean <B>isTrue</B>(java.lang.Object value)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isFalse(java.lang.String)"><!-- --></A><H3> |
| isFalse</H3> |
| <PRE> |
| public static final boolean <B>isFalse</B>(java.lang.String value)</PRE> |
| <DL> |
| <DD>Tests the String 'value': |
| return 'true' if its 'false', '0', or 'no' - else 'false' |
| |
| Follow in 'C' tradition of boolean values: |
| false is specific (0), everything else is true; |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isFalseExplicitly(java.lang.String)"><!-- --></A><H3> |
| isFalseExplicitly</H3> |
| <PRE> |
| public static final boolean <B>isFalseExplicitly</B>(java.lang.String value)</PRE> |
| <DL> |
| <DD>Tests the String 'value': |
| return 'true' if its null, 'false', '0', or 'no' - else 'false' |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isFalseExplicitly(java.lang.Object, boolean)"><!-- --></A><H3> |
| isFalseExplicitly</H3> |
| <PRE> |
| public static final boolean <B>isFalseExplicitly</B>(java.lang.Object value, |
| boolean defaultVal)</PRE> |
| <DL> |
| <DD>Tests the Object 'value': |
| if its null, return default. |
| if its a Boolean, return !booleanValue() |
| if its an Integer, return 'true' if its '0' else 'false' |
| if its a String, return isFalseExplicitly((String)value). |
| All other types return 'false' |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isFalseExplicitly(java.lang.Object)"><!-- --></A><H3> |
| isFalseExplicitly</H3> |
| <PRE> |
| public static final boolean <B>isFalseExplicitly</B>(java.lang.Object value)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isFalse(java.lang.Object, boolean)"><!-- --></A><H3> |
| isFalse</H3> |
| <PRE> |
| public static final boolean <B>isFalse</B>(java.lang.Object value, |
| boolean defaultVal)</PRE> |
| <DL> |
| <DD>Tests the Object 'value': |
| if its null, return default. |
| if its a Boolean, return booleanValue() |
| if its an Integer, return 'false' if its '0' else 'true' |
| if its a String, return 'false' if its 'false', 'no', or '0' - else 'true' |
| All other types return 'true' |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isFalse(java.lang.Object)"><!-- --></A><H3> |
| isFalse</H3> |
| <PRE> |
| public static final boolean <B>isFalse</B>(java.lang.Object value)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="mimeToJava(java.lang.String)"><!-- --></A><H3> |
| mimeToJava</H3> |
| <PRE> |
| public static java.lang.String <B>mimeToJava</B>(java.lang.String mime)</PRE> |
| <DL> |
| <DD>Given the MIME type string, return the Java mapping. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isAttachmentSupported()"><!-- --></A><H3> |
| isAttachmentSupported</H3> |
| <PRE> |
| public static boolean <B>isAttachmentSupported</B>()</PRE> |
| <DL> |
| <DD>Determine whether attachments are supported by checking if the following |
| classes are available: javax.activation.DataHandler, |
| javax.mail.internet.MimeMultipart. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getUniqueValue(java.util.Collection, java.lang.String)"><!-- --></A><H3> |
| getUniqueValue</H3> |
| <PRE> |
| public static java.lang.String <B>getUniqueValue</B>(java.util.Collection values, |
| java.lang.String initValue)</PRE> |
| <DL> |
| <DD>Makes the value passed in <code>initValue</code> unique among the |
| <CODE>String</CODE> values contained in <code>values</code> by suffixing |
| it with a decimal digit suffix. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JavaUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/axis/utils/IOUtils.html" title="class in org.apache.axis.utils"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/axis/utils/JWSClassLoader.html" title="class in org.apache.axis.utils"><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> |
| <A HREF="JavaUtils.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2005 Apache Web Services Project. All Rights Reserved. |
| </BODY> |
| </HTML> |