org.apache.tools.ant.filters

Class TokenFilter.IgnoreBlank

Enclosing Class:
TokenFilter
Implemented Interfaces:
ChainableReader, 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

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

getProject, log, log, 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


Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.