Interface Template
- All Known Implementing Classes:
FileTemplate,MemoryTemplate
public interface Template
-
Method Summary
Modifier and TypeMethodDescriptionvoidassociateWith(TemplateEngine engine) copy()getName()getPath()getType()booleanvoidsave()voidsetContents(String text, boolean shouldParse) voidvoidsetType(TemplateType value)
-
Method Details
-
getName
String getName() -
setName
-
associateWith
- Throws:
TemplateException
-
getContents
- Throws:
IOException
-
setContents
- Throws:
TemplateException
-
getType
TemplateType getType() -
setType
-
isInMemory
boolean isInMemory() -
copy
- Throws:
IOException
-
save
- Throws:
IOException
-
getPath
File getPath()
-