FileChannel
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: The number of bytes, possibly zero, that were actually transferredthe source FileChannel to transfer data from. src, long The position within the file at which the transfer is to begin;
must be non-negative position, long The maximum number of bytes to be transferred; must be
non-negative count)Transfers a portion of entity content from the given file channel to the underlying network channel. |
| transfer | back to summary |
|---|---|
| public long transfer(FileChannel src, long position, long count) throws IOException Transfers a portion of entity content from the given file channel to the underlying network channel.
| |