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, skip
public LineFilterInputStream(Reader reader, LineFilter lineFilter) throws IOException
LineFilterInputStream
instance.reader
- The reader that backs this streamlineFilter
- The line filter to useIOException
public 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 useIOException
public int read() throws IOException
read
in class InputStream
IOException
Copyright © 2013. All Rights Reserved.