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 void
close()
The whole point of this input stream is to ignore invocations to close()void
realClose()
-
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
-
realClose
public void realClose() throws IOException
- Throws:
IOException
-
-