|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrasmus.util.NonBlockingReadableByteChannel
public class NonBlockingReadableByteChannel
Constructor Summary | |
---|---|
NonBlockingReadableByteChannel(java.io.File file,
long pos,
int buffersize)
|
|
NonBlockingReadableByteChannel(NonBlockingReadableByteChannel channel)
|
Method Summary | |
---|---|
void |
close()
|
boolean |
isOpen()
|
int |
read(java.nio.ByteBuffer buffer)
|
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NonBlockingReadableByteChannel(NonBlockingReadableByteChannel channel) throws java.lang.InterruptedException
java.lang.InterruptedException
public NonBlockingReadableByteChannel(java.io.File file, long pos, int buffersize) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
public int read(java.nio.ByteBuffer buffer)
read
in interface java.nio.channels.ReadableByteChannel
public boolean isOpen()
isOpen
in interface java.nio.channels.Channel
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.nio.channels.Channel
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |