Klasse InterfaceCodeGenerator

java.lang.Object
org.freedesktop.dbus.utils.generator.InterfaceCodeGenerator

public class InterfaceCodeGenerator extends Object
Replacement for the old CreateInterface tool. This utility class will read introspection data from a given DBus interface and tries to generate proper Java interfaces.
Seit:
v3.0.1 - 2018-12-20
Autor:
hypfvieh
  • Konstruktordetails

    • InterfaceCodeGenerator

      public InterfaceCodeGenerator(boolean _disableFilter, String _introspectionData, String _objectPath, String _busName, String _packageName, boolean _propertyMethods)
  • Methodendetails

    • analyze

      public Map<File,String> analyze(boolean _ignoreDtd) throws Exception
      Analyze the DBus interface given in constructor by parsing the introspection data.
      Parameter:
      _ignoreDtd - true to disable dtd-validation, false otherwise
      Gibt zurück:
      List of Filenames and contents for the files
      Löst aus:
      Exception - on DBUS or IO errors
    • main

      public static void main(String[] _args)