Top Description Constructors Methods
org.jabref.model.openoffice.uno

public Class UnoProperties

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Arrays, .List, .Objects, .Optional, java.util.stream.Collectors, com.sun.star.beans.Property, com.sun.star.beans.UnknownPropertyException, com.sun.star.beans.XPropertyContainer, com.sun.star.beans.XPropertySet, com.sun.star.beans.XPropertySetInfo, com.sun.star.lang.WrappedTargetException

Utilities for properties.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Optional<com.sun.star.beans.XPropertySet>
asPropertySet(com.sun.star.beans.XPropertyContainer propertyContainer)

public static List<String>
getPropertyNames(com.sun.star.beans.Property[] properties)

public static List<String>
getPropertyNames(com.sun.star.beans.XPropertySetInfo propertySetInfo)

public static List<String>
getPropertyNames(com.sun.star.beans.XPropertySet propertySet)

public static List<String>
getPropertyNames(com.sun.star.beans.XPropertyContainer propertyContainer)

public static Optional<com.sun.star.beans.XPropertySetInfo>
getPropertySetInfo(com.sun.star.beans.XPropertySet propertySet)

public static Optional<com.sun.star.beans.XPropertySetInfo>
getPropertySetInfo(com.sun.star.beans.XPropertyContainer propertyContainer)

public static Optional<Object>
getValueAsObject(com.sun.star.beans.XPropertySet propertySet, String property)

public static Optional<Object>
getValueAsObject(com.sun.star.beans.XPropertyContainer propertyContainer, String property)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

UnoPropertiesback to summary
private UnoProperties()

Method Detail

asPropertySetback to summary
public static Optional<com.sun.star.beans.XPropertySet> asPropertySet(com.sun.star.beans.XPropertyContainer propertyContainer)
getPropertyNamesback to summary
public static List<String> getPropertyNames(com.sun.star.beans.Property[] properties)
getPropertyNamesback to summary
public static List<String> getPropertyNames(com.sun.star.beans.XPropertySetInfo propertySetInfo)
getPropertyNamesback to summary
public static List<String> getPropertyNames(com.sun.star.beans.XPropertySet propertySet)
getPropertyNamesback to summary
public static List<String> getPropertyNames(com.sun.star.beans.XPropertyContainer propertyContainer)
getPropertySetInfoback to summary
public static Optional<com.sun.star.beans.XPropertySetInfo> getPropertySetInfo(com.sun.star.beans.XPropertySet propertySet)
getPropertySetInfoback to summary
public static Optional<com.sun.star.beans.XPropertySetInfo> getPropertySetInfo(com.sun.star.beans.XPropertyContainer propertyContainer)
getValueAsObjectback to summary
public static Optional<Object> getValueAsObject(com.sun.star.beans.XPropertySet propertySet, String property) throws com.sun.star.lang.WrappedTargetException
getValueAsObjectback to summary
public static Optional<Object> getValueAsObject(com.sun.star.beans.XPropertyContainer propertyContainer, String property) throws com.sun.star.lang.WrappedTargetException