public class Wrapper extends Object
Constructor and Description |
---|
Wrapper(boolean debug) |
Modifier and Type | Method and Description |
---|---|
void |
browse(Node node) |
String |
explore(Node node) |
void |
explore(Node node,
String key) |
String |
extractPropertyInfo(NodeList nodeList) |
String |
parse(InputStream in)
Parses the RA's configuration file from an input stream.
|
void |
setPropertiesValue(NodeList nodeList,
String key) |
String |
update(InputStream in,
Map map)
Update the configuration from the properties in parameter.
|
private boolean debug
private Map map
public String parse(InputStream in) throws Exception
in
- The input stream.Exception
- unspecialized errorpublic String extractPropertyInfo(NodeList nodeList) throws Exception
Exception
public String update(InputStream in, Map map) throws Exception
in
- The input streammap
- The map containing the updates.Exception
- unspecialized errorCopyright © 2015 ScalAgent D.T.. All Rights Reserved.