public interface SeekableByteChannel extends ByteChannel
Modifier and Type | Method and Description |
---|---|
long |
position() |
SeekableByteChannel |
position(long newPosition) |
long |
size() |
SeekableByteChannel |
truncate(long size) |
read
write
long position() throws IOException
IOException
SeekableByteChannel position(long newPosition) throws IOException
IOException
long size() throws IOException
IOException
SeekableByteChannel truncate(long size) throws IOException
IOException
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.