@Override public void write(byte[] b, int off, int len) throws IOException { flush(); outputFile.write(b, off, len); }
/** * @param b Source buffer to read data from. * @param off Offset within the buffer to start reading from. * @param len Number of bytes to read. * @throws IOException If there is an error writing to the stream. */ public void write(ByteBuffer b, int off, int len) throws IOException { flush(); outputFile.write(b, off, len); }
@Override public void write(byte[] b) throws IOException { flush(); outputFile.write(b); }
/** * Writes bytes to the stream from the given buffer. * @param b Source buffer to read data from. * @throws IOException If there is an error writing to the stream. */ public void write(ByteBuffer b) throws IOException { flush(); outputFile.write(b); }
/** * Writes bytes to the stream from the given buffer. * @param b Source buffer to read data from. * @throws IOException If there is an error writing to the stream. */ public void write(ByteBuffer b) throws IOException { flush(); outputFile.write(b); }
@Override public void write(byte[] b) throws IOException { flush(); outputFile.write(b); }
@Override public void write(int b) throws IOException { flush(); outputFile.write(b); }
@Override public void write(byte[] b, int off, int len) throws IOException { flush(); outputFile.write(b, off, len); }
@Override public void write(int b) throws IOException { flush(); outputFile.write(b); }
/** * @param b Source buffer to read data from. * @param off Offset within the buffer to start reading from. * @param len Number of bytes to read. * @throws IOException If there is an error writing to the stream. */ public void write(ByteBuffer b, int off, int len) throws IOException { flush(); outputFile.write(b, off, len); }