com.sun.star.tools.uno

Class DumpTypeDescription


public class DumpTypeDescription
extends Object

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

Method Summary

static void
dumpTypeDescription(String typeName)
Prints information about a TypeDescription object that has been constructed based on the argument typeName.
static void
main(args[] )
Executes this tool.

Method Details

dumpTypeDescription

public static void dumpTypeDescription(String typeName)
            throws 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.

main

public static void main(args[] )
            throws 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&gt]*
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: