home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / NotesProgramFilesJavaSupport / rt.jar / java / io / OutputStream.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-04-23  |  609 b   |  23 lines

  1. package java.io;
  2.  
  3. public abstract class OutputStream {
  4.    public abstract void write(int var1) throws IOException;
  5.  
  6.    public void write(byte[] var1) throws IOException {
  7.       this.write(var1, 0, var1.length);
  8.    }
  9.  
  10.    public void write(byte[] var1, int var2, int var3) throws IOException {
  11.       for(int var4 = 0; var4 < var3; ++var4) {
  12.          this.write(var1[var2 + var4]);
  13.       }
  14.  
  15.    }
  16.  
  17.    public void flush() throws IOException {
  18.    }
  19.  
  20.    public void close() throws IOException {
  21.    }
  22. }
  23.