Package com.dtolabs.rundeck.core.common

Examples of com.dtolabs.rundeck.core.common.NodesXMLParser


    }

    public INodeSet parseDocument(final File file) throws ResourceFormatParserException {
        final NodeSetImpl nodeReceiver = new NodeSetImpl();
        try {
            new NodesXMLParser(file, nodeReceiver).parse();
        } catch (NodeFileParserException e) {
            throw new ResourceFormatParserException(e);
        }
        return nodeReceiver;
    }
View Full Code Here


    }

    public INodeSet parseDocument(final InputStream input) throws ResourceFormatParserException {
        final NodeSetImpl nodeReceiver = new NodeSetImpl();
        try {
            new NodesXMLParser(input, nodeReceiver).parse();
        } catch (NodeFileParserException e) {
            throw new ResourceFormatParserException(e);
        }
        return nodeReceiver;
    }
View Full Code Here

TOP

Related Classes of com.dtolabs.rundeck.core.common.NodesXMLParser

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.