| Constructor and Description |
|---|
FileTemplate() |
FileTemplate(TemplateEngine templateEngine) |
FileTemplate(TemplateEngine templateEngine,
String templateFileName) |
FileTemplate(TemplateType templateType) |
| Modifier and Type | Method and Description |
|---|---|
void |
associateWith(TemplateEngine engine) |
Template |
copy() |
String |
getContents() |
String |
getName() |
File |
getPath() |
TemplateType |
getType() |
boolean |
isInMemory() |
void |
save() |
void |
setContents(String text,
boolean shouldParse) |
void |
setName(String value) |
void |
setType(TemplateType value) |
String |
toString() |
public FileTemplate()
public FileTemplate(TemplateType templateType)
public FileTemplate(TemplateEngine templateEngine)
public FileTemplate(TemplateEngine templateEngine, String templateFileName)
public String getContents() throws IOException
getContents in interface TemplateIOExceptionpublic void setContents(String text, boolean shouldParse) throws TemplateException
setContents in interface TemplateTemplateExceptionpublic void associateWith(TemplateEngine engine) throws TemplateException
associateWith in interface TemplateTemplateExceptionpublic TemplateType getType()
public void setType(TemplateType value)
public boolean isInMemory()
isInMemory in interface Templatepublic void save()
throws IOException
save in interface TemplateIOExceptionpublic Template copy() throws IOException
copy in interface TemplateIOExceptionCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.