Class StringSubstitutionParser
- java.lang.Object
-
- com.sun.enterprise.admin.servermgmt.stringsubs.impl.StringSubstitutionParser
-
public class StringSubstitutionParser extends Object
This class parses the string substitution XML.
-
-
Constructor Summary
Constructors Constructor Description StringSubstitutionParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringsubsDefinitionparse(InputStream configStream)Parse the configuration stream against the string-subs schema and then closes the stream.
-
-
-
Method Detail
-
parse
public static StringsubsDefinition parse(InputStream configStream) throws StringSubstitutionException
Parse the configuration stream against the string-subs schema and then closes the stream.- Parameters:
configStream- InputStream of stringsubs.xml file.- Returns:
- Parsed Object.
- Throws:
StringSubstitutionException- If any error occurs in parsing.
-
-