java.nio.channels
public interface Channel extends Closeable
| Method Summary | |
|---|---|
| void | close()
Closes this channel
|
| boolean | isOpen()
Tells whether this channel is open or not
|
Throws: IOException If an error occurs
Returns: trueif channel is open,
false otherwise