Interface TemplateFilter

All Known Implementing Classes:
VelocityTemplateFilter

public interface TemplateFilter
An Filter which preprocesses a template.
  • Method Summary

    Modifier and Type
    Method
    Description
    filter(InputStream toFilter, String encoding)
    Filters (i.e modifies) a template.
  • Method Details

    • filter

      InputStream filter(InputStream toFilter, String encoding) throws IOException
      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.