Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.nio.channels

Class Pipe

java.lang.Object
|
+--java.nio.channels.Pipe


public abstract class Pipe

extends Object

Since:Author:

Constructor Summary

Pipe()

Initializes the pipe.

Method Summary

static java.nio.channels.Pipeopen()

Opens a pipe.
java.nio.channels.Pipe.SinkChannelsink()

Returns a pipe's sink channel.
java.nio.channels.Pipe.SourceChannelsource()

Returns a pipe's source channel

Constructor Details

Pipe

protected Pipe()

Initializes the pipe.


Method Details

open

public static Pipe open()

Opens a pipe.

Throws:


sink

public Pipe.SinkChannel sink()

Returns a pipe's sink channel.


source

public Pipe.SourceChannel source()

Returns a pipe's source channel