org.apache.tools.ant.filters

Class TokenFilter.IgnoreBlank

Enclosing Class:
TokenFilter
Implemented Interfaces:
ChainableReader, Cloneable, TokenFilter.Filter

public static class TokenFilter.IgnoreBlank
extends TokenFilter.ChainableReaderFilter

Filter remove empty tokens

Field Summary

Fields inherited from class org.apache.tools.ant.ProjectComponent

description, location, project

Method Summary

String
filter(String line)

Methods inherited from class org.apache.tools.ant.filters.TokenFilter.ChainableReaderFilter

chain, setByLine

Methods inherited from class org.apache.tools.ant.ProjectComponent

clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject

Method Details

filter

public String filter(String line)
Specified by:
filter in interface TokenFilter.Filter
Parameters:
line - the line to modify
Returns:
the trimmed line