|
|||||||||
| Home >> All >> java >> nio >> [ channels overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.nio.channels
Class VMChannels

java.lang.Objectjava.nio.channels.VMChannels
- final class VMChannels
- extends java.lang.Object
| Constructor Summary | |
private |
VMChannels()
This class isn't intended to be instantiated. |
| Method Summary | |
private static java.lang.Object |
createStream(java.lang.Class streamClass,
Channel ch)
|
(package private) static java.io.InputStream |
newInputStream(ReadableByteChannel ch)
Constructs a stream that reads bytes from the given channel. |
(package private) static java.io.OutputStream |
newOutputStream(WritableByteChannel ch)
Constructs a stream that writes bytes to the given channel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
VMChannels
private VMChannels()
- This class isn't intended to be instantiated.
| Method Detail |
createStream
private static java.lang.Object createStream(java.lang.Class streamClass, Channel ch)
newInputStream
static java.io.InputStream newInputStream(ReadableByteChannel ch)
- Constructs a stream that reads bytes from the given channel.
newOutputStream
static java.io.OutputStream newOutputStream(WritableByteChannel ch)
- Constructs a stream that writes bytes to the given channel.
|
|||||||||
| Home >> All >> java >> nio >> [ channels overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
java.nio.channels.VMChannels