Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.torque.generator.template
Interface TemplateFilter

All Known Implementing Classes:
  VelocityTemplateFilter

    public interface TemplateFilter

An Filter which preprocesses a template.

Method Summary
`InputStream` | `filter(InputStream toFilter, String encoding)` Filters (i.e modifies) a template.

Method Detail

### 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.