Package org.freedesktop.dbus.utils
Class DBusNamingUtil
java.lang.Object
org.freedesktop.dbus.utils.DBusNamingUtil
DBus name Util class for internal and external use.
-
Field Summary
Fields -
Constructor Summary
Constructors -
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 StringgetSignalName(Class<?> _clazz) Get DBus signal name for specified signal class.
-
Field Details
-
DOLLAR_PATTERN
-
-
Constructor Details
-
DBusNamingUtil
private DBusNamingUtil()
-
-
Method Details
-
getInterfaceName
Get DBus interface name for specified interface class- Parameters:
_clazz- input DBus interface class- Returns:
- interface name
- See Also:
-
getMethodName
Get DBus method name for specified method object.- Parameters:
_method- input method- Returns:
- method name
- See Also:
-
getSignalName
Get DBus signal name for specified signal class.- Parameters:
_clazz- input DBus signal class- Returns:
- signal name
- See Also:
-
getAnnotationName
Get DBus name for specified annotation class- Parameters:
_clazz- input DBus annotation- Returns:
- interface name
- See Also:
-