Class NonClosableInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    @Deprecated(since="2022-01-27")
    public class NonClosableInputStream
    extends java.io.FilterInputStream
    Deprecated.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()
      Deprecated.
      The whole point of this input stream is to ignore invocations to close()
      void realClose()
      Deprecated.
       
      • 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • close

        public void close()
        Deprecated.
        The whole point of this input stream is to ignore invocations to close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.FilterInputStream
      • realClose

        public void realClose()
                       throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException