Class 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.- Since:
- v3.0.1 - 2018-12-20
- Author:
- hypfvieh
-
-
Constructor Summary
Constructors Constructor Description InterfaceCodeGenerator(String _introspectionData, String _objectPath, String _busName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<File,String>analyze(boolean _ignoreDtd)Analyze the DBus interface given in constructor by parsing the introspection data.static voidmain(String[] args)
-
-
-
Method Detail
-
analyze
public Map<File,String> analyze(boolean _ignoreDtd) throws Exception
Analyze the DBus interface given in constructor by parsing the introspection data.- Parameters:
_ignoreDtd- true to disable dtd-validation, false otherwise- Returns:
- List of Filenames and contents for the files
- Throws:
Exception- on DBUS or IO errors
-
main
public static void main(String[] args)
-
-