|
||||||||||
| 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.Runnablepublic int read(java.nio.ByteBuffer buffer)
read in interface java.nio.channels.ReadableByteChannelpublic boolean isOpen()
isOpen in interface java.nio.channels.Channel
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.nio.channels.Channeljava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||