Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.nio.channels
Class VMChannels  view VMChannels download VMChannels.java

java.lang.Object
  extended byjava.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.