Package edu.sc.seis.sod.subsetter
Class VelocityFileElementParser
- java.lang.Object
-
- edu.sc.seis.sod.subsetter.VelocityFileElementParser
-
public class VelocityFileElementParser extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description 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.separatorVelocityFileElementParser(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLocation()
java.lang.String
getTemplate()
java.lang.String
getWorkingDir()
-
-
-
Constructor Detail
-
VelocityFileElementParser
public 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
public 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
-
-