org.apache.tools.ant.filters

Interface ChainableReader

Known Implementing Classes:
ClassConstants, ConcatFilter, EscapeUnicode, ExpandProperties, FixCrLfFilter, FixCRLF, HeadFilter, LineContains, LineContainsRegExp, PrefixLines, ReplaceTokens, ScriptFilter, StripJavaComments, StripLineBreaks, StripLineComments, TabsToSpaces, TailFilter, TokenFilter, TokenFilter.ChainableReaderFilter, TokenFilter.ContainsRegex, TokenFilter.DeleteCharacters, TokenFilter.IgnoreBlank, TokenFilter.ReplaceRegex, TokenFilter.ReplaceString, TokenFilter.Trim

public interface ChainableReader

Interface indicating that a reader may be chained to another one.

Method Summary

Reader
chain(Reader rdr)
Returns a reader with the same configuration as this one, but filtering input from the specified reader.

Method Details

chain

public Reader chain(Reader rdr)
Returns a reader with the same configuration as this one, but filtering input from the specified reader.
Parameters:
rdr - the reader which the returned reader should be filtering
Returns:
a reader with the same configuration as this one, but filtering input from the specified reader