public interface SeekableByteChannel extends ByteChannel, Channel, Closeable, ReadableByteChannel, WritableByteChannel
Modifier and Type | Method and Description |
---|---|
long |
position() |
SeekableByteChannel |
setPosition(long newPosition) |
long |
size() |
SeekableByteChannel |
truncate(long size) |
read
write
long position() throws IOException
IOException
SeekableByteChannel setPosition(long newPosition) throws IOException
IOException
long size() throws IOException
IOException
SeekableByteChannel truncate(long size) throws IOException
IOException
Copyright © 2017. All rights reserved.