Channels « java.nio.channels « Java by API






1.Channels: newInputStream(ReadableByteChannel ch)
2.Channels: newOutputStream(WritableByteChannel ch)