Class DBusNamingUtil
java.lang.Object
org.freedesktop.dbus.utils.DBusNamingUtil
DBus name Util class for internal and external use.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetAnnotationName(Class<? extends Annotation> _clazz) Get DBus name for specified annotation classstatic StringgetInterfaceName(Class<?> _clazz) Get DBus interface name for specified interface classstatic StringgetMethodName(Method _method) Get DBus method name for specified method object.static StringgetPropertyName(Method _method) Get a property name for a method (annotated withDBusBoundProperty.static StringgetSignalName(Class<?> _clazz) Get DBus signal name for specified signal class.
-
Method Details
-
getInterfaceName
-
getMethodName
-
getPropertyName
Get a property name for a method (annotated withDBusBoundProperty. These would typically be setter / getter type methods. IfDBusBoundProperty.name()is provided, that will take precedence.- Parameters:
_method- input method- Returns:
- property name
- See Also:
-
getSignalName
-
getAnnotationName
Get DBus name for specified annotation class- Parameters:
_clazz- input DBus annotation- Returns:
- interface name
- See Also:
-