|
|||||||||
| 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 Pipe

java.lang.Objectjava.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
|
|||||||||
| 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.Pipe