Package org.freedesktop.dbus.bin

Examples of org.freedesktop.dbus.bin.CreateInterface


            return;
        }

        for(File iface : interfaceFiles) {
            FileStreamFactory factory = new FileStreamFactory(path);
            CreateInterface createInterface = new CreateInterface(factory, false);
            FileReader input = null;
            try {
                input = new FileReader(iface);
            } catch (IOException e) {
                throw new MojoExecutionException("Could not read interface " +
                        "XML from " + iface.getPath(), e);
            }
            try {
                createInterface.createInterface(input);
            } catch (ParserConfigurationException e) {
                throw new MojoExecutionException("dbus-java internal error on XML parser", e);
            } catch (SAXException e) {
                throw new MojoExecutionException("Malformatted interface XML", e);
            } catch (IOException e) {
View Full Code Here

TOP

Related Classes of org.freedesktop.dbus.bin.CreateInterface

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.