net.sf.csutils.groovy
Class Main
java.lang.Object
net.sf.csutils.groovy.Main
public class Main
- extends Object
Main class of a template processor.
Constructor Summary |
Main()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
getTemplateType
public Main.TemplateType getTemplateType()
setTemplateType
public void setTemplateType(Main.TemplateType templateType)
getInputFile
public File getInputFile()
setInputFile
public void setInputFile(File pInputFile)
getOutputFile
public File getOutputFile()
setOutputFile
public void setOutputFile(File pOutputFile)
getInputURL
public URL getInputURL()
setInputURL
public void setInputURL(URL pInputURL)
getInputEncoding
public String getInputEncoding()
setInputEncoding
public void setInputEncoding(String pInputEncoding)
getOutputEncoding
public String getOutputEncoding()
setOutputEncoding
public void setOutputEncoding(String pOutputEncoding)
getCsUrl
public String getCsUrl()
setCsUrl
public void setCsUrl(String pUrl)
getCsUser
public String getCsUser()
setCsUser
public void setCsUser(String pUser)
getCsPassword
public String getCsPassword()
setCsPassword
public void setCsPassword(String pPassword)
getOptions
public List<Main.Opt> getOptions()
usage
protected void usage(String pMessage,
List<Main.Opt> pOptions)
getOutputWriter
protected Writer getOutputWriter()
throws IOException
- Throws:
IOException
getInput
protected Reader getInput()
throws IOException
- Throws:
IOException
getTemplateEngine
protected groovy.text.TemplateEngine getTemplateEngine()
throws Exception
- Throws:
Exception
run
public void run()
throws Exception
- Throws:
Exception
main
public static void main(String[] pArgs)
throws Exception
- Throws:
Exception
main
public static void main(Main pMain,
String[] pArgs)
throws Exception
- Throws:
Exception
Copyright © 2009-2010. All Rights Reserved.