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: true
if channel is open,
false
otherwise