|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Transferable
The methods needed for fast transferTo.
Method Summary | |
---|---|
long |
length()
Get the length of the resource in bytes. |
long |
transferTo(long position,
long count,
WritableByteChannel target)
Transfers bytes from this channel's file to the given writable byte channel. |
Method Detail |
---|
long length()
long transferTo(long position, long count, WritableByteChannel target) throws IOException
position
- The position within the file at which the transfer
is to begin; must be non-negativecount
- The maximum number of bytes to be transferred;
must be non-negativetarget
- The target channel
IOException
transferTo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |