java.nio.channels
public abstract class Pipe extends Object
Since: 1.4
| Nested Class Summary | |
|---|---|
| abstract static class | Pipe.SinkChannel |
| abstract 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 |
Throws: IOException If an error occurs