protected class

FtpURLConnection.FtpInputStream

extends FilterInputStream
java.lang.Object
   ↳ java.io.InputStream
     ↳ java.io.FilterInputStream
       ↳ sun.net.www.protocol.ftp.FtpURLConnection.FtpInputStream

Class Overview

For FTP URLs we need to have a special InputStream because we need to close 2 sockets after we're done with it : - The Data socket (for the file). - The command socket (FtpClient). Since that's the only class that needs to see that, it is an inner class.

Summary

[Expand]
Inherited Fields
From class java.io.FilterInputStream
Public Methods
void close()
Closes this input stream and releases any system resources associated with the stream.
[Expand]
Inherited Methods
From class java.io.FilterInputStream
From class java.io.InputStream
From class java.lang.Object
From interface java.io.Closeable

Public Methods

public void close ()

Closes this input stream and releases any system resources associated with the stream. This method simply performs in.close().

Throws
IOException