Interface TemplateFilter
- All Known Implementing Classes:
VelocityTemplateFilter
public interface TemplateFilter
An Filter which preprocesses a template.
-
Method Summary
Modifier and TypeMethodDescriptionfilter(InputStream toFilter, String encoding) Filters (i.e modifies) a template.
-
Method Details
-
filter
Filters (i.e modifies) a template.- Parameters:
toFilter- the input stream for the template to filter.encoding- the encoding of the template, or null for the system encoding.- Returns:
- A stream containing the filtered template.
- Throws:
IOException- if an error occurs while reading or filtering the template.
-