Package org.uberfire.java.nio.channels
Interface SeekableByteChannel
-
- All Superinterfaces:
AutoCloseable,ByteChannel,Channel,Closeable,ReadableByteChannel,WritableByteChannel
- All Known Implementing Classes:
SeekableByteChannelFileBasedImpl,SeekableByteChannelWrapperImpl
public interface SeekableByteChannel extends ByteChannel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longposition()SeekableByteChannelposition(long newPosition)longsize()SeekableByteChanneltruncate(long size)-
Methods inherited from interface java.nio.channels.ReadableByteChannel
read
-
Methods inherited from interface java.nio.channels.WritableByteChannel
write
-
-
-
-
Method Detail
-
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
-
-