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:
java.io.Closeable
,java.lang.AutoCloseable
public class NonClosableInputStream extends java.io.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
-
-
-
-
Method Detail
-
close
public void close()
The whole point of this input stream is to ignore invocations to close()- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.FilterInputStream
-
realClose
public void realClose() throws java.io.IOException
- Throws:
java.io.IOException
-
-