public class ScriptParser extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APP_NAME
The application name.
|
static String |
APP_URL
The application URL.
|
static String |
APP_VER
The application version.
|
static String |
FILE_SEPARATOR
The file separator character.
|
private Collection |
files
The files to parse.
|
static String |
INSTALL_PATH
The install path.
|
static String |
ISO3_LANG
The language IS03 code.
|
static String |
JAVA_HOME
The Java home path.
|
static String |
USER_HOME
The user home path.
|
static String |
USER_NAME
The user name.
|
private VariableSubstitutor |
vs
The variables substituror.
|
Constructor and Description |
---|
ScriptParser(Collection files,
VariableSubstitutor vs)
Constructs a new parser.
|
Modifier and Type | Method and Description |
---|---|
void |
parseFiles()
Parses the files.
|
public static final String INSTALL_PATH
public static final String JAVA_HOME
public static final String USER_HOME
public static final String USER_NAME
public static final String FILE_SEPARATOR
public static final String APP_NAME
public static final String APP_URL
public static final String APP_VER
public static final String ISO3_LANG
private Collection files
private VariableSubstitutor vs
public ScriptParser(Collection files, VariableSubstitutor vs)
files
- the parsable files to processvs
- the variable substitutor to usepublic void parseFiles() throws Exception
Exception
- Description of the ExceptionWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses