com.ibm.tivoli.maximo.antivirus.impl.icap.net

Class SocketInputStream

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


    public class SocketInputStream
    extends LineInputStream
    • Constructor Detail

      • SocketInputStream

        public SocketInputStream(java.net.Socket socket,
                                 java.io.InputStream is)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • SocketInputStream

        public SocketInputStream(java.io.InputStream stream)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Description copied from class: LineInputStream
        Closes this input stream and releases any system resources associated with the stream.

        The close method of InputStream does nothing.

        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface java.lang.AutoCloseable
        Overrides:
        close in class LineInputStream
        Throws:
        java.io.IOException - if an I/O error occurs.
      • finalize

        public void finalize()
                      throws java.io.IOException
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.io.IOException