The Pipe class creates a pair of Channel
The Pipe class creates a pair of Channel objects that provide a loopback mechanism. The two channels’ far ends are connected so that whatever is written down the SinkChannel appears on the SourceChannel. Figure 3-11 shows the class hierarchy for Pipe. package java.nio.channels; public abstract class Pipe { public static Pipe open() throws IOException public abstract SourceChannel source(); public abstract SinkChannel sink(); 122
Note: If you are looking for best quality webspace to host and run your tomcat application check Vision tomcat hosting services