KIE NIO.2 :: Model 6.0.0.CR4-Pre1

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


Method Summary
 long position()
           
 SeekableByteChannel position(long newPosition)
           
 long size()
           
 SeekableByteChannel truncate(long size)
           
 
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

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

KIE NIO.2 :: Model 6.0.0.CR4-Pre1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.