home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / VPage / Java.bin / CLASSES.ZIP / sun / net / www / protocol / gopher / GopherURLConnection.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-07-08  |  753 b   |  20 lines

  1. package sun.net.www.protocol.gopher;
  2.  
  3. import java.io.IOException;
  4. import java.io.InputStream;
  5. import java.net.URL;
  6. import sun.net.www.URLConnection;
  7.  
  8. class GopherURLConnection extends URLConnection {
  9.    GopherURLConnection(URL var1) {
  10.       super(var1);
  11.    }
  12.  
  13.    public void connect() throws IOException {
  14.    }
  15.  
  16.    public InputStream getInputStream() throws IOException {
  17.       return (new GopherClient(this)).openStream(super.url);
  18.    }
  19. }
  20.