public class LineFilterInputStream extends InputStream
Provides an input stream that filters a text resource.
This class is used to filter the logging configuration, so there is no point in logging through a
Logger. If the verbose setting is true, then the result of the filtered
resource is written to standard error.
| Constructor and Description |
|---|
LineFilterInputStream(Reader reader,
LineFilter lineFilter)
Creates a new
LineFilterInputStream instance. |
LineFilterInputStream(Reader reader,
LineFilter lineFilter,
Boolean verbose)
Creates a new
LineFilterInputStream instance. |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
available, close, mark, markSupported, read, read, reset, skippublic LineFilterInputStream(Reader reader, LineFilter lineFilter) throws IOException
LineFilterInputStream instance.reader - The reader that backs this streamlineFilter - The line filter to useIOExceptionpublic LineFilterInputStream(Reader reader, LineFilter lineFilter, Boolean verbose) throws IOException
LineFilterInputStream instance.reader - The reader that backs this streamlineFilter - The line filter to useverbose - The verbose flag to useIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionCopyright © 2013. All Rights Reserved.