home *** CD-ROM | disk | FTP | other *** search
- package sun.net.www.protocol.gopher;
-
- import java.io.FilterInputStream;
- import java.io.IOException;
- import java.io.InputStream;
- import sun.net.NetworkClient;
-
- class GopherInputStream extends FilterInputStream {
- NetworkClient parent;
-
- GopherInputStream(NetworkClient var1, InputStream var2) {
- super(var2);
- this.parent = var1;
- }
-
- public void close() {
- try {
- this.parent.closeServer();
- super.close();
- } catch (IOException var2) {
- }
-
- }
- }
-