src/share/classes/java/nio/channels/Channels.java

Print this page

        

*** 180,190 **** }; } /** - * {@note new} * Constructs a stream that reads bytes from the given channel. * * <p> The stream will not be buffered, and it will not support the {@link * InputStream#mark mark} or {@link InputStream#reset reset} methods. The * stream will be safe for access by multiple concurrent threads. Closing --- 180,189 ----
*** 256,266 **** } }; } /** - * {@note new} * Constructs a stream that writes bytes to the given channel. * * <p> The stream will not be buffered. The stream will be safe for access * by multiple concurrent threads. Closing the stream will in turn cause * the channel to be closed. </p> --- 255,264 ----