public final class StripLineBreaks extends BaseParamFilterReader implements ChainableReader
<striplinebreaks/>Or:
<filterreader classname="org.apache.tools.ant.filters.StripLineBreaks"/>
| Constructor and Description | 
|---|
| StripLineBreaks()Constructor for "dummy" instances. | 
| StripLineBreaks(java.io.Reader in)Creates a new filtered reader. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.io.Reader | chain(java.io.Reader rdr)Creates a new StripLineBreaks using the passed in
 Reader for instantiation. | 
| int | read()Returns the next character in the filtered stream, only including
 characters not in the set of line-breaking characters. | 
| void | setLineBreaks(java.lang.String lineBreaks)Sets the line-breaking characters. | 
getParameters, setParametersgetInitialized, getProject, read, readFully, readLine, setInitialized, setProject, skippublic StripLineBreaks()
BaseFilterReader()public StripLineBreaks(java.io.Reader in)
in - A Reader object providing the underlying stream.
           Must not be null.public int read()
         throws java.io.IOException
read in class java.io.FilterReaderjava.io.IOException - if the underlying stream throws an IOException
 during readingpublic void setLineBreaks(java.lang.String lineBreaks)
lineBreaks - A String containing all the characters to be
                   considered as line-breaking.public java.io.Reader chain(java.io.Reader rdr)
chain in interface ChainableReaderrdr - A Reader object providing the underlying stream.
            Must not be null.