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

Quick Search    Search Deep

java.nio.channels
Class Pipe  view Pipe download Pipe.java

java.lang.Object
  extended byjava.nio.channels.Pipe

public abstract class Pipe
extends java.lang.Object

Since:
1.4

Nested Class Summary
static class Pipe.SinkChannel
           
static class Pipe.SourceChannel
           
 
Constructor Summary
protected Pipe()
          Initializes the pipe.
 
Method Summary
static Pipe open()
          Opens a pipe.
abstract  Pipe.SinkChannel sink()
          Returns a pipe's sink channel.
abstract  Pipe.SourceChannel source()
          Returns a pipe's source channel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pipe

protected Pipe()
Initializes the pipe.

Method Detail

open

public static Pipe open()
                 throws java.io.IOException
Opens a pipe.


sink

public abstract Pipe.SinkChannel sink()
Returns a pipe's sink channel.


source

public abstract Pipe.SourceChannel source()
Returns a pipe's source channel