org.apache.tools.ant.filters

Class TokenFilter.Trim

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

public static class TokenFilter.Trim
extends TokenFilter.ChainableReaderFilter

Filter to trim white space

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 string to be trimmed
Returns:
the trimmed string

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