FileChannelOutputStream
Allows to write to a file channel like an output stream.
| Methods |
|
FileChannelOutputStream(FileChannel channel, boolean append)
Create a new file object output stream from the file channel.
|
|
FileChannelOutputStream(FileChannel channel, boolean append) throws IOException
Create a new file object output stream from the file channel.
Parameters:
channel - the file channel
append - true for append mode, false for truncate and overwrite
|
| void |
close()
|
| void |
close() throws IOException
|
| void |
write(int b)
|
| void |
write(int b) throws IOException
|
| void |
write(byte[] b)
|
| void |
write(byte[] b) throws IOException
|
| void |
write(byte[] b, int off, int len)
|
| void |
write(byte[] b, int off, int len) throws IOException
|
|