java.lang.Object | +--java.nio.channels.Pipe
Pipe() Initializes the pipe. |
static java.nio.channels.Pipe | open() Opens a pipe. |
java.nio.channels.Pipe.SinkChannel | sink() Returns a pipe's sink channel. |
java.nio.channels.Pipe.SourceChannel | source() Returns a pipe's source channel |
protected Pipe()
public static Pipe open()
IOException
- If an error occurspublic Pipe.SinkChannel sink()
public Pipe.SourceChannel source()