/** * increments bytesWritten and writes byte to wrapped out */ public void write(int b) throws IOException { super.write(b); if ((bytesWritten % interval) == 0) { listener.setStreamProgress(bytesWritten); } }
/** * increments bytesWritten and writes byte to wrapped out */ public void write(int b) throws IOException { super.write(b); if ((bytesWritten % interval) == 0) { listener.setStreamProgress(bytesWritten); } }