public class VelocityTemplateFilter extends Object implements TemplateFilter
| Constructor and Description | 
|---|
| VelocityTemplateFilter() | 
| Modifier and Type | Method and Description | 
|---|---|
| InputStream | filter(InputStream resource,
      String encoding)This method filters the template and replaces some
 unwanted characters. | 
public InputStream filter(InputStream resource, String encoding) throws IOException
filter in interface TemplateFilterresource - the input stream to filter.encoding - the encoding to use, or null for the system encoding.IOException - if creating, reading or writing to a stream fails.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.