Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
UNO Java Runtime

com.sun.star.tools.uno
Class DumpTypeDescription

java.lang.Object
  |
  +--com.sun.star.tools.uno.DumpTypeDescription

public class DumpTypeDescription
extends java.lang.Object

A command-line tool. Prints information of com.sun.star.lib.uno.typedesc.TypeDescription objects to the error stream.


Constructor Summary
DumpTypeDescription()
           
 
Method Summary
static void dumpTypeDescription(java.lang.String typeName)
          Prints information about a TypeDescription object that has been constructed based on the argument typeName.
static void main(java.lang.String[] args)
          Executes this tool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpTypeDescription

public DumpTypeDescription()
Method Detail

dumpTypeDescription

public static void dumpTypeDescription(java.lang.String typeName)
                                throws java.lang.Exception
Prints information about a TypeDescription object that has been constructed based on the argument typeName. The output is written to the error stream. The information consists of general as well as method and member information. These are:
  • type name
  • array type name
  • type of the super class
  • type class
  • component type
  • java.lang.Class object
Method information:
  • name
  • index
  • is one way
  • is unsigned
  • is Any
  • is interface
  • in signature
  • out signature
  • return signature
  • java.lang.reflect.Method object
Field information:
  • name
  • index
  • is one way
  • is unsigned
  • is Any
  • is interface
  • com.sun.star.lib.uno.typedesc.TypeDescription object

Parameters:
typeName - name of a type for which an TypeDescription object is constructed whoose information are printed.
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Executes this tool. The command line arguments consist of an identifier followed by a type name. Identifiers can either be uno or java. Based on the type name, a com.sun.star.lib.uno.typedesc.TypeDescription object is constructed whose information are then printed out to the error stream.
usage: [uno <type name>]|[java <class name>]*
Examples:
java com.sun.star.uno.tools.DumpTypeDescription uno com.sun.star.lang.XMultiServiceFactory java com.sun.star.uno.tools.DumpTypeDescription java java.lang.Byte java java.lang.String

Parameters:
args - command line arguments
java.lang.Exception

UNO Java Runtime

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.