public class UnoRuntime extends Object
UnoRuntime class, making the mocking of the class possible.| Constructor and Description |
|---|
UnoRuntime() |
| Modifier and Type | Method and Description |
|---|---|
static @NonNull UnoRuntime |
getInstance()
Gets the default
UnoRuntime instance. |
<T> T |
queryInterface(@Nullable Class<T> unoInterface,
@Nullable Object object)
Queries the given UNO object for the given Java class (which must represent a UNO interface
type).
|
static void |
setInstance(@NonNull UnoRuntime unoRuntime)
Sets the default
UnoRuntime instance. |
public static @NonNull UnoRuntime getInstance()
UnoRuntime instance.UnoRuntime.public static void setInstance(@NonNull UnoRuntime unoRuntime)
UnoRuntime instance.unoRuntime - The default UnoRuntime.public <T> T queryInterface(@Nullable Class<T> unoInterface, @Nullable Object object)
T - The Java class representing the UNO interface type.unoInterface - A Java class representing a UNO interface type.object - A reference to any Java object representing (a facet of) a UNO object; may be
null.null
.UnoRuntime.queryInterface(Class, Object)Copyright © 2016 - present; JODConverter.org. All rights reserved.