home *** CD-ROM | disk | FTP | other *** search
- package java.io;
-
- public class FilterOutputStream extends OutputStream {
- protected OutputStream out;
-
- public FilterOutputStream(OutputStream var1) {
- this.out = var1;
- }
-
- public void write(int var1) throws IOException {
- this.out.write(var1);
- }
-
- public void write(byte[] var1) throws IOException {
- this.write(var1, 0, var1.length);
- }
-
- public void write(byte[] var1, int var2, int var3) throws IOException {
- for(int var4 = 0; var4 < var3; ++var4) {
- this.out.write(var1[var2 + var4]);
- }
-
- }
-
- public void flush() throws IOException {
- this.out.flush();
- }
-
- public void close() throws IOException {
- try {
- this.flush();
- } catch (IOException var1) {
- }
-
- this.out.close();
- }
- }
-