public class VelocityFileElementParser
extends java.lang.Object
Constructor and Description |
---|
VelocityFileElementParser(org.w3c.dom.Element config,
java.lang.String defaultWorkingDir,
java.lang.String defaultLocation)
Uses the contents of the workingDir element in config as workingDir, or
if it doesn't exist, uses defaultWorkingDir Uses the contents of the
location element in config as location, or if it doesn't exist, uses
defaultLocation
|
VelocityFileElementParser(java.lang.String workingDir,
java.lang.String location)
Takes a workingDir and location and ensures that workingDir ends with or
location starts with File.separator
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocation() |
java.lang.String |
getTemplate() |
java.lang.String |
getWorkingDir() |
public VelocityFileElementParser(org.w3c.dom.Element config, java.lang.String defaultWorkingDir, java.lang.String defaultLocation)
public VelocityFileElementParser(java.lang.String workingDir, java.lang.String location)