org.rundeck.api.parser
Class ParserHelper
java.lang.Object
org.rundeck.api.parser.ParserHelper
public class ParserHelper
- extends Object
Helper for parsing RunDeck responses
- Author:
- Vincent Behar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParserHelper
public ParserHelper()
loadDocument
public static org.dom4j.Document loadDocument(InputStream inputStream)
throws RundeckApiException
- Load an XML
Document
from the given InputStream
- Parameters:
inputStream
- from an API call to RunDeck
- Returns:
- an XML
Document
- Throws:
RundeckApiException
- if we failed to read the response, or if the response is an error
Copyright © 2011. All Rights Reserved.