Schnittstelle TemplateFilter

Alle bekannten Implementierungsklassen:
VelocityTemplateFilter

public interface TemplateFilter
An Filter which preprocesses a template.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    filter(InputStream toFilter, String encoding)
    Filters (i.e modifies) a template.
  • Methodendetails

    • filter

      InputStream filter(InputStream toFilter, String encoding) throws IOException
      Filters (i.e modifies) a template.
      Parameter:
      toFilter - the input stream for the template to filter.
      encoding - the encoding of the template, or null for the system encoding.
      Gibt zurück:
      A stream containing the filtered template.
      Löst aus:
      IOException - if an error occurs while reading or filtering the template.