Package ch.qos.logback.core.encoder
Class NonClosableInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- ch.qos.logback.core.encoder.NonClosableInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class NonClosableInputStream extends FilterInputStream
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()The whole point of this input stream is to ignore invocations to close()voidrealClose()-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Method Detail
-
close
public void close()
The whole point of this input stream is to ignore invocations to close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream
-
realClose
public void realClose() throws IOException- Throws:
IOException
-
-