Package org.apache.logging.log4j.io
Class LoggerBufferedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.io.BufferedInputStream
-
- org.apache.logging.log4j.io.LoggerBufferedInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class LoggerBufferedInputStream extends BufferedInputStream
- Since:
- 2.1
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLoggerBufferedInputStream(InputStream in, Charset charset, int size, ExtendedLogger logger, String fqcn, Level level, Marker marker)protectedLoggerBufferedInputStream(InputStream in, Charset charset, ExtendedLogger logger, String fqcn, Level level, Marker marker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread()intread(byte[] b)intread(byte[] b, int off, int len)StringtoString()-
Methods inherited from class java.io.BufferedInputStream
available, mark, markSupported, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
LoggerBufferedInputStream
protected LoggerBufferedInputStream(InputStream in, Charset charset, ExtendedLogger logger, String fqcn, Level level, Marker marker)
-
LoggerBufferedInputStream
protected LoggerBufferedInputStream(InputStream in, Charset charset, int size, ExtendedLogger logger, String fqcn, Level level, Marker marker)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classBufferedInputStream- Throws:
IOException
-
read
public int read() throws IOException- Overrides:
readin classBufferedInputStream- Throws:
IOException
-
read
public int read(byte[] b) throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- Overrides:
readin classBufferedInputStream- Throws:
IOException
-
-