com.izforge.izpack.installer.unpacker
Class ScriptParser
java.lang.Object
com.izforge.izpack.installer.unpacker.ScriptParser
public class ScriptParser
- extends Object
A ParsableFile parser.
- Author:
- Julien Ponge, Johannes Lehtinen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptParser
public ScriptParser(VariableSubstitutor replacer,
PlatformModelMatcher matcher)
- Constructs a new parser. The parsable files specified must have pretranslated paths
(variables expanded and file separator characters converted if necessary).
- Parameters:
replacer - the variable replacer to usematcher - the platform-model matcher
parse
public void parse(ParsableFile parsable)
throws Exception
- Parses a file.
- Parameters:
parsable - the file to parse
- Throws:
Exception - if parsing fails
Copyright © 2018. All rights reserved.