org.kie.commons.java.nio.channels
Interface SeekableByteChannel
- All Superinterfaces:
- ByteChannel, Channel, Closeable, ReadableByteChannel, WritableByteChannel
- All Known Implementing Classes:
- SeekableByteChannelFileBasedImpl, SeekableByteChannelWrapperImpl
public interface SeekableByteChannel
- extends ByteChannel
position
long position()
throws IOException
- Throws:
IOException
position
SeekableByteChannel position(long newPosition)
throws IOException
- Throws:
IOException
size
long size()
throws IOException
- Throws:
IOException
truncate
SeekableByteChannel truncate(long size)
throws IOException
- Throws:
IOException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.