Modifier and Type | Class and Description |
---|---|
static class |
Pipe.SinkChannel |
static class |
Pipe.SourceChannel |
Modifier | Constructor and Description |
---|---|
protected |
Pipe()
Initializes the pipe.
|
Modifier and Type | Method and Description |
---|---|
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
|
protected Pipe()
public static Pipe open() throws IOException
IOException
- If an error occurspublic abstract Pipe.SinkChannel sink()
public abstract Pipe.SourceChannel source()