Class DBusNamingUtil

java.lang.Object
org.freedesktop.dbus.utils.DBusNamingUtil

public final class DBusNamingUtil extends Object
DBus name Util class for internal and external use.
  • Method Details

    • getInterfaceName

      public static String getInterfaceName(Class<?> _clazz)
      Get DBus interface name for specified interface class
      Parameters:
      _clazz - input DBus interface class
      Returns:
      interface name
      See Also:
    • getMethodName

      public static String getMethodName(Method _method)
      Get DBus method name for specified method object.
      Parameters:
      _method - input method
      Returns:
      method name
      See Also:
    • getPropertyName

      public static String getPropertyName(Method _method)
      Get a property name for a method (annotated with DBusBoundProperty. These would typically be setter / getter type methods. If DBusBoundProperty.name() is provided, that will take precedence.
      Parameters:
      _method - input method
      Returns:
      property name
      See Also:
    • getSignalName

      public static String getSignalName(Class<?> _clazz)
      Get DBus signal name for specified signal class.
      Parameters:
      _clazz - input DBus signal class
      Returns:
      signal name
      See Also:
    • getAnnotationName

      public static String getAnnotationName(Class<? extends Annotation> _clazz)
      Get DBus name for specified annotation class
      Parameters:
      _clazz - input DBus annotation
      Returns:
      interface name
      See Also: