Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 9762

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<!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.7.0-internal) on Thu Oct 16 10:00:06 EDT 2008 -->
<TITLE>
AnyConverter (Java UNO Runtime Reference)
</TITLE>

<META NAME="date" CONTENT="2008-10-16">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="AnyConverter (Java UNO Runtime Reference)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= 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=2 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>&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/AnyConverter.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>
UDK 3.2.7 Java API Reference</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/sun/star/uno/Any.html" title="class in com.sun.star.uno"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/sun/star/uno/Ascii.html" title="class in com.sun.star.uno"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/sun/star/uno/AnyConverter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="AnyConverter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
com.sun.star.uno</FONT>
<BR>
Class AnyConverter</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.star.uno.AnyConverter</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>AnyConverter</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
</PRE>

<P>
This class provides static methods which aim at exploring the contents of an
 Any and extracting its value. All public methods take an Object argument that
 either is the immediate object, such as Boolean, Type, interface implementation,
 or an Any that contains an object. <br>The methods which extract the value do a
 widening conversion. See the method comments for the respective conversions.
<P>

<P>
<HR>

<P>

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#AnyConverter()">AnyConverter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/sun/star/uno/Type.html" title="class in com.sun.star.uno">Type</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#getType(java.lang.Object)">getType</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the type of an any object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isArray(java.lang.Object)">isArray</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains UNO idl sequence value (meaning a java array
        containing elements which are values of UNO idl types).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isBoolean(java.lang.Object)">isBoolean</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>boolean</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isByte(java.lang.Object)">isByte</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>byte</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isChar(java.lang.Object)">isChar</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>char</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isDouble(java.lang.Object)">isDouble</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>double</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isEnum(java.lang.Object)">isEnum</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>enum</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isFloat(java.lang.Object)">isFloat</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>float</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isInt(java.lang.Object)">isInt</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>long</code> (which maps to a java-int).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isLong(java.lang.Object)">isLong</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>hyper</code> (which maps to a java-long).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isObject(java.lang.Object)">isObject</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains an interface, struct, exception, sequence or enum.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isShort(java.lang.Object)">isShort</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>short</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isString(java.lang.Object)">isString</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>string</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isType(java.lang.Object)">isType</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains a value of the idl type <code>type</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isVoid(java.lang.Object)">isVoid</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checks if the any contains the idl type <code>void</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toArray(java.lang.Object)">toArray</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts an array or an any containing an array into an array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toBoolean(java.lang.Object)">toBoolean</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts an Boolean object or an Any object containing a Boolean object into a simple boolean.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toByte(java.lang.Object)">toByte</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts an Byte object or an Any object containing a Byte object into a simple byte.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;char</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toChar(java.lang.Object)">toChar</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts an Char object or an Any object containing a Char object into a simple char.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toDouble(java.lang.Object)">toDouble</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a number object into a simple double and allows widening conversions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toFloat(java.lang.Object)">toFloat</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a number object into a simple float and allows widening conversions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toInt(java.lang.Object)">toInt</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a number object into a simple int and allows widening conversions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toLong(java.lang.Object)">toLong</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a number object into a simple long and allows widening conversions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toObject(java.lang.Class, java.lang.Object)">toObject</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;clazz,
         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a UNO object (struct, exception, sequence, enum or interface) or an Any containing
  these types into an UNO object of a specified destination type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toObject(com.sun.star.uno.Type, java.lang.Object)">toObject</A></B>(<A HREF="../../../../com/sun/star/uno/Type.html" title="class in com.sun.star.uno">Type</A>&nbsp;type,
         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a UNO object (struct, exception, sequence, enum or interface) or an Any containing
  these types into an UNO object of a specified destination type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;short</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toShort(java.lang.Object)">toShort</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a number object into a simple short and allows widening conversions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toString(java.lang.Object)">toString</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a string or an any containing a string into a string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/sun/star/uno/Type.html" title="class in com.sun.star.uno">Type</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toType(java.lang.Object)">toType</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a Type or an any containing a Type into a Type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toUnsignedInt(java.lang.Object)">toUnsignedInt</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a number object into an idl unsigned long and allows widening conversions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toUnsignedLong(java.lang.Object)">toUnsignedLong</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a number object into an idl unsigned hyper and allows widening conversions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;short</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/star/uno/AnyConverter.html#toUnsignedShort(java.lang.Object)">toUnsignedShort</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;converts a number object into an idl unsigned short and allows widening conversions.</TD>
</TR>
</TABLE>
&nbsp;<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">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="AnyConverter()"><!-- --></A><H3>
AnyConverter</H3>
<PRE>
public <B>AnyConverter</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getType(java.lang.Object)"><!-- --></A><H3>
getType</H3>
<PRE>
public static <A HREF="../../../../com/sun/star/uno/Type.html" title="class in com.sun.star.uno">Type</A> <B>getType</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>Determines the type of an any object.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - any object
<DT><B>Returns:</B><DD>type object</DL>
</DD>
</DL>
<HR>

<A NAME="isVoid(java.lang.Object)"><!-- --></A><H3>
isVoid</H3>
<PRE>
public static boolean <B>isVoid</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains the idl type <code>void</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any is void, false otherwise</DL>
</DD>
</DL>
<HR>

<A NAME="isChar(java.lang.Object)"><!-- --></A><H3>
isChar</H3>
<PRE>
public static boolean <B>isChar</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>char</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains a char, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isBoolean(java.lang.Object)"><!-- --></A><H3>
isBoolean</H3>
<PRE>
public static boolean <B>isBoolean</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>boolean</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains a boolean, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isByte(java.lang.Object)"><!-- --></A><H3>
isByte</H3>
<PRE>
public static boolean <B>isByte</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>byte</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains a byte, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isShort(java.lang.Object)"><!-- --></A><H3>
isShort</H3>
<PRE>
public static boolean <B>isShort</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>short</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains a short, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isInt(java.lang.Object)"><!-- --></A><H3>
isInt</H3>
<PRE>
public static boolean <B>isInt</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>long</code> (which maps to a java-int).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains a int, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isLong(java.lang.Object)"><!-- --></A><H3>
isLong</H3>
<PRE>
public static boolean <B>isLong</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>hyper</code> (which maps to a java-long).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains a long, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isFloat(java.lang.Object)"><!-- --></A><H3>
isFloat</H3>
<PRE>
public static boolean <B>isFloat</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>float</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains a float, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isDouble(java.lang.Object)"><!-- --></A><H3>
isDouble</H3>
<PRE>
public static boolean <B>isDouble</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>double</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains a double, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isString(java.lang.Object)"><!-- --></A><H3>
isString</H3>
<PRE>
public static boolean <B>isString</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>string</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains a string, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isEnum(java.lang.Object)"><!-- --></A><H3>
isEnum</H3>
<PRE>
public static boolean <B>isEnum</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>enum</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true if the any contains an enum, false otherwise</DL>
</DD>
</DL>
<HR>

<A NAME="isType(java.lang.Object)"><!-- --></A><H3>
isType</H3>
<PRE>
public static boolean <B>isType</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains a value of the idl type <code>type</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains a type, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isObject(java.lang.Object)"><!-- --></A><H3>
isObject</H3>
<PRE>
public static boolean <B>isObject</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains an interface, struct, exception, sequence or enum.
        If <em>object</em> is an any with an interface type, then true is also returned if
        the any contains a null reference. This is because interfaces are allowed to have
        a null value contrary to other UNO types.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true if the any contains an object</DL>
</DD>
</DL>
<HR>

<A NAME="isArray(java.lang.Object)"><!-- --></A><H3>
isArray</H3>
<PRE>
public static boolean <B>isArray</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)</PRE>
<DL>
<DD>checks if the any contains UNO idl sequence value (meaning a java array
        containing elements which are values of UNO idl types).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to check
<DT><B>Returns:</B><DD>true when the any contains an object which implements interfaces, false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="toChar(java.lang.Object)"><!-- --></A><H3>
toChar</H3>
<PRE>
public static char <B>toChar</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                   throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts an Char object or an Any object containing a Char object into a simple char.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the char contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no char is contained within object<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isChar(java.lang.Object)"><CODE>isChar(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="toBoolean(java.lang.Object)"><!-- --></A><H3>
toBoolean</H3>
<PRE>
public static boolean <B>toBoolean</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                         throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts an Boolean object or an Any object containing a Boolean object into a simple boolean.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the boolean contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no boolean is contained within object<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isBoolean(java.lang.Object)"><CODE>isBoolean(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="toByte(java.lang.Object)"><!-- --></A><H3>
toByte</H3>
<PRE>
public static byte <B>toByte</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                   throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts an Byte object or an Any object containing a Byte object into a simple byte.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the boolean contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no byte is contained within object<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/star/uno/AnyConverter.html#isBoolean(java.lang.Object)"><CODE>isBoolean(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="toShort(java.lang.Object)"><!-- --></A><H3>
toShort</H3>
<PRE>
public static short <B>toShort</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                     throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a number object into a simple short and allows widening conversions.
        Allowed argument types are Byte, Short or Any containing these types.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the short contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no short or byte is contained within object</DL>
</DD>
</DL>
<HR>

<A NAME="toUnsignedShort(java.lang.Object)"><!-- --></A><H3>
toUnsignedShort</H3>
<PRE>
public static short <B>toUnsignedShort</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                             throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a number object into an idl unsigned short and allows widening conversions.
        Allowed argument types are Anies containing idl unsigned short values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>an (unsigned) short
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no idl unsigned short is contained within Any</DL>
</DD>
</DL>
<HR>

<A NAME="toInt(java.lang.Object)"><!-- --></A><H3>
toInt</H3>
<PRE>
public static int <B>toInt</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                 throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a number object into a simple int and allows widening conversions.
        Allowed argument types are Byte, Short, Integer or Any containing these types.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the int contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no short, byte or int is contained within object.</DL>
</DD>
</DL>
<HR>

<A NAME="toUnsignedInt(java.lang.Object)"><!-- --></A><H3>
toUnsignedInt</H3>
<PRE>
public static int <B>toUnsignedInt</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                         throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a number object into an idl unsigned long and allows widening conversions.
        Allowed argument types are Anies containing idl unsigned short or unsigned long values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>an (unsigned) int
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no idl unsigned short nor unsigned long is contained within Any</DL>
</DD>
</DL>
<HR>

<A NAME="toLong(java.lang.Object)"><!-- --></A><H3>
toLong</H3>
<PRE>
public static long <B>toLong</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                   throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a number object into a simple long and allows widening conversions.
        Allowed argument types are Byte, Short, Integer, Long or Any containing these types.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the long contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no short, byte, int or long
                is contained within object.</DL>
</DD>
</DL>
<HR>

<A NAME="toUnsignedLong(java.lang.Object)"><!-- --></A><H3>
toUnsignedLong</H3>
<PRE>
public static long <B>toUnsignedLong</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                           throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a number object into an idl unsigned hyper and allows widening conversions.
        Allowed argument types are Anies containing idl unsigned short, unsigned long or
        unsigned hyper values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>an (unsigned) long
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no idl unsigned short, nor unsigned long nor unsigned hyper
                is contained within object.</DL>
</DD>
</DL>
<HR>

<A NAME="toFloat(java.lang.Object)"><!-- --></A><H3>
toFloat</H3>
<PRE>
public static float <B>toFloat</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                     throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a number object into a simple float and allows widening conversions.
        Allowed argument types are Byte, Short, Float or Any containing these types.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the float contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no byte, short or float
                is contained within object.</DL>
</DD>
</DL>
<HR>

<A NAME="toDouble(java.lang.Object)"><!-- --></A><H3>
toDouble</H3>
<PRE>
public static double <B>toDouble</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                       throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a number object into a simple double and allows widening conversions.
        Allowed argument types are Byte, Short, Int, Float, Double or Any containing these types.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the double contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no byte, short, int, float
                or double is contained within object.</DL>
</DD>
</DL>
<HR>

<A NAME="toString(java.lang.Object)"><!-- --></A><H3>
toString</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                       throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a string or an any containing a string into a string.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the string contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no string is contained within object.</DL>
</DD>
</DL>
<HR>

<A NAME="toType(java.lang.Object)"><!-- --></A><H3>
toType</H3>
<PRE>
public static <A HREF="../../../../com/sun/star/uno/Type.html" title="class in com.sun.star.uno">Type</A> <B>toType</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                   throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a Type or an any containing a Type into a Type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the type contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no type is contained within object.</DL>
</DD>
</DL>
<HR>

<A NAME="toObject(com.sun.star.uno.Type, java.lang.Object)"><!-- --></A><H3>
toObject</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>toObject</B>(<A HREF="../../../../com/sun/star/uno/Type.html" title="class in com.sun.star.uno">Type</A>&nbsp;type,
                              <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                       throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a UNO object (struct, exception, sequence, enum or interface) or an Any containing
  these types into an UNO object of a specified destination type.
  For interfaces, the argument <em>object</em> is queried for the interface specified
  by the <em>type</em> argument. That query (UnoRuntime.queryInterface) might return null,
  if the interface is not implemented or a null-ref or a VOID any is given.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - type of the returned value<DD><CODE>object</CODE> - the object that is to be converted
<DT><B>Returns:</B><DD>destination object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case conversion is not possible</DL>
</DD>
</DL>
<HR>

<A NAME="toObject(java.lang.Class, java.lang.Object)"><!-- --></A><H3>
toObject</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>toObject</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;clazz,
                              <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                       throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts a UNO object (struct, exception, sequence, enum or interface) or an Any containing
  these types into an UNO object of a specified destination type.
  For interfaces, the argument <em>object</em> is queried for the interface specified
  by the <em>type</em> argument. That query (UnoRuntime.queryInterface) might return null,
  if the interface is not implemented or a null-ref or a VOID any is given.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - class of the returned value<DD><CODE>object</CODE> - the object that is to be converted
<DT><B>Returns:</B><DD>destination object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case conversion is not possible</DL>
</DD>
</DL>
<HR>

<A NAME="toArray(java.lang.Object)"><!-- --></A><H3>
toArray</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>toArray</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;object)
                      throws <A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></PRE>
<DL>
<DD>converts an array or an any containing an array into an array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to convert
<DT><B>Returns:</B><DD>the array contained within the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../../common/ref/com/sun/star/lang/IllegalArgumentException.html?is-external=true" title="class or interface in com.sun.star.lang">IllegalArgumentException</A></CODE> - in case no array is contained within object.</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=2 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>&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/AnyConverter.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>
UDK 3.2.7 Java API Reference</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/sun/star/uno/Any.html" title="class in com.sun.star.uno"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/sun/star/uno/Ascii.html" title="class in com.sun.star.uno"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/sun/star/uno/AnyConverter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="AnyConverter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>