java.nio.channels
public
abstract
class
java.nio.channels.Pipe
A pipe contains two channels. One is the writable sink channel and the other is
readable source channel. When bytes are written into the writable channel they
can be read from readable channel. The order of these bytes remains unchanged.
Nested Classes
Summary
Protected Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Protected Constructors
protected
Pipe()
The protected constructor.
Public Methods
public
static
Pipe
open()
Returns the sink channel of the pipe.
Returns
- a writable sink channel of the pipe
Returns the source channel of the pipe.
Returns
- a readable source channel of the pipe