@Test public void write() throws IOException { this.outputStream.write(1); assertArrayEquals(new byte[]{(byte) 1}, this.transferProgress.getBuffer()); assertEquals(1, this.transferProgress.getLength()); }
@Override public void write(int b) throws IOException { super.write(b); this.transferProgress.notify(new byte[]{(byte) b}, 1); }
TransferProgressFileOutputStream extends FileOutputStream { @Override public void write(int b) throws IOException { super.write(b); this.transferProgress.notify(new byte[]{(byte) b}, 1); } }
TransferProgressFileOutputStream extends FileOutputStream { @Override public void write(int b) throws IOException { super.write(b); this.transferProgress.notify(new byte[]{(byte) b}, 1); } TransferProgressFileOutputStream(File file, TransferProgress transferProgress); }
TransferProgressFileOutputStream extends FileOutputStream { @Override public void write(int b) throws IOException { super.write(b); this.transferProgress.notify(new byte[]{(byte) b}, 1); } TransferProgressFileOutputStream(File file, TransferProgress transferProgress); @Override void write(int b); @Override void write(byte b[]); @Override void write(byte b[], int off, int len); }
TransferProgressFileOutputStream extends FileOutputStream { @Override public void write(int b) throws IOException { super.write(b); this.transferProgress.notify(new byte[]{(byte) b}, 1); } TransferProgressFileOutputStream(File file, TransferProgress transferProgress); @Override void write(int b); @Override void write(byte b[]); @Override void write(byte b[], int off, int len);  }