| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Template | |
| public Template | |
| public Template | |
| public Template | createTemplate(File file, Charset cs)
Creates a template from the File contents using the given charset encoding. |
| public Template | createTemplate(URL url)
Creates a template from the content found at the URL using the default encoding. |
| public Template | createTemplate(URL url, Charset cs)
Creates a template from the content found at the URL using the given charset encoding. |
| TemplateEngine | back to summary |
|---|---|
| public TemplateEngine() | |
| createTemplate | back to summary |
|---|---|
| public abstract Template createTemplate(Reader reader) throws CompilationFailedException, ClassNotFoundException, IOException Creates a template by reading content from the Reader. | |
| createTemplate | back to summary |
|---|---|
| public Template createTemplate(String templateText) throws CompilationFailedException, ClassNotFoundException, IOException Creates a template from the String contents. | |
| createTemplate | back to summary |
|---|---|
| public Template createTemplate(File file) throws CompilationFailedException, ClassNotFoundException, IOException Creates a template from the File contents.
If the encoding for the file can be determined, that encoding will be used, otherwise the default encoding will be used.
Consider using | |
| createTemplate | back to summary |
|---|---|
| public Template createTemplate(File file, Charset cs) throws CompilationFailedException, ClassNotFoundException, IOException Creates a template from the File contents using the given charset encoding. | |
| createTemplate | back to summary |
|---|---|
| public Template createTemplate(URL url) throws CompilationFailedException, ClassNotFoundException, IOException Creates a template from the content found at the URL using the default encoding.
Please consider using
| |
| createTemplate | back to summary |
|---|---|
| public Template createTemplate(URL url, Charset cs) throws CompilationFailedException, ClassNotFoundException, IOException Creates a template from the content found at the URL using the given charset encoding. | |