|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--util.dbg
This class accumulates all kinds of methods for accessing debug information from UNO implementations.
Constructor Summary | |
dbg()
|
Method Summary | |
static String |
getImplID(XInterface xTarget)
Get the unique implementation id of a UNO object. |
static Type[] |
getInterfaceTypes(XInterface xTarget)
Returns all interface types of an implementation as a type array. |
static void |
getSuppServices(Object aObject)
Print the supported services of a UNO object. |
static boolean |
implementsInterface(XInterface xTarget,
String ifcName)
Returns true if a specified target implements the interface with the given name. |
static void |
printArray(String[] entries)
Prints a string array to standard out. |
static void |
printInterfaceInfo(Type aType)
Prints information about an interface type. |
static void |
printInterfaces(XInterface xTarget)
Prints information about the supported interfaces of an implementation to standard out. |
static void |
printInterfaces(XInterface xTarget,
boolean extendedInfo)
Prints information about the supported interfaces of an implementation to standard out. |
static void |
printPropertiesNames(XPropertySet ps)
Print the names of all properties inside this property set |
static void |
printPropertyInfo(XPropertySet PS,
String name)
Print all information about the property name from
the property set PS to standard out. |
static void |
printPropertyInfo(XPropertySet PS,
String name,
PrintWriter out)
Print all information about the property name from
the property set PS to a print writer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public dbg()
Method Detail |
public static void printInterfaces(XInterface xTarget)
xTarget
- The implementation which should be analysed.XInterface
public static void printInterfaces(XInterface xTarget, boolean extendedInfo)
xTarget
- The implementation which should be analysed.extendedInfo
- Should extended information be printed?XInterface
public static Type[] getInterfaceTypes(XInterface xTarget)
xTarget
- The implementation which should be analyzed.XInterface
public static boolean implementsInterface(XInterface xTarget, String ifcName)
xTarget
- The implementation which should be analysed.ifcName
- The name of the interface that is tested. The name can
be full qualified, such as 'com.sun.star.io.XInputStream', or only
consist of the interface name, such as 'XText'.XInterface
public static void printInterfaceInfo(Type aType)
aType
- The type of the given interface.Type
public static void printArray(String[] entries)
entries
- : The array to be printed.public static void printPropertyInfo(XPropertySet PS, String name)
name
from
the property set PS
to standard out.PS
- The property set which should contain a property called
name
.name
- The name of the property.XPropertySet
public static void printPropertyInfo(XPropertySet PS, String name, PrintWriter out)
name
from
the property set PS
to a print writer.PS
- The property set which should contain a property called
name
.name
- The name of the property.out
- The print writer which is used as output.XPropertySet
public static void printPropertiesNames(XPropertySet ps)
ps
- The property set which is printed.XPropertySet
public static void getSuppServices(Object aObject)
aObject
- A UNO object.public static String getImplID(XInterface xTarget)
xTarget
- An implementation of a UNO object.
|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |