home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / sun / net / www / protocol / gopher / GopherInputStream.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  449 b   |  25 lines

  1. package sun.net.www.protocol.gopher;
  2.  
  3. import java.io.FilterInputStream;
  4. import java.io.IOException;
  5. import java.io.InputStream;
  6. import sun.net.NetworkClient;
  7.  
  8. class GopherInputStream extends FilterInputStream {
  9.    NetworkClient parent;
  10.  
  11.    GopherInputStream(NetworkClient var1, InputStream var2) {
  12.       super(var2);
  13.       this.parent = var1;
  14.    }
  15.  
  16.    public void close() {
  17.       try {
  18.          this.parent.closeServer();
  19.          super.close();
  20.       } catch (IOException var2) {
  21.       }
  22.  
  23.    }
  24. }
  25.