home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 January / PCO0198.ISO / browser / net_linx / java40.jar / netscape / applet / ConsoleInputStream.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-11-03  |  666 b   |  29 lines

  1. package netscape.applet;
  2.  
  3. import java.io.IOException;
  4. import java.io.InputStream;
  5.  
  6. class ConsoleInputStream extends InputStream {
  7.    Console console;
  8.  
  9.    ConsoleInputStream(Console var1) {
  10.       this.console = var1;
  11.    }
  12.  
  13.    public int read() {
  14.       return -1;
  15.    }
  16.  
  17.    public int read(byte[] var1) {
  18.       return -1;
  19.    }
  20.  
  21.    public int read(byte[] var1, int var2, int var3) throws IOException {
  22.       return -1;
  23.    }
  24.  
  25.    public int available() throws IOException {
  26.       return -1;
  27.    }
  28. }
  29.