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 / http / EmptyInputStream.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  241 b   |  14 lines

  1. package sun.net.www.protocol.http;
  2.  
  3. import java.io.InputStream;
  4.  
  5. class EmptyInputStream extends InputStream {
  6.    public int available() {
  7.       return 0;
  8.    }
  9.  
  10.    public int read() {
  11.       return -1;
  12.    }
  13. }
  14.