|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImgChannel
An extension of ByteChannel that allows us to know the position. It may evolve to have several of the methods of the FileChannel class and plays a similar role.
Method Summary | |
---|---|
long |
position()
Get the file position. |
void |
position(long pos)
Set the position within the file. |
Methods inherited from interface java.nio.channels.ReadableByteChannel |
---|
read |
Methods inherited from interface java.nio.channels.WritableByteChannel |
---|
write |
Methods inherited from interface java.nio.channels.Channel |
---|
close, isOpen |
Method Detail |
---|
long position()
void position(long pos)
pos
- The position to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |