|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileRegion
Indicates the region of a file to be sent to the remote host.
| Method Summary | |
|---|---|
long |
getCount()
The number of bytes to be written from the file to the remote host. |
FileChannel |
getFileChannel()
The open FileChannel from which data will be read to send to remote host. |
long |
getPosition()
The current file position from which data will be read. |
long |
getWrittenBytes()
The total number of bytes already written. |
void |
setPosition(long value)
Updates the current file position. |
| Method Detail |
|---|
FileChannel getFileChannel()
long getPosition()
void setPosition(long value)
value - The new value for the file position.long getCount()
long getWrittenBytes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||