- All Known Subinterfaces:
- ByteChannel, GatheringByteChannel, InterruptibleChannel, ReadableByteChannel, ScatteringByteChannel, WritableByteChannel
- All Known Implementing Classes:
- java.nio.channels.spi.AbstractInterruptibleChannel, DatagramChannel, FileChannel, Pipe.SinkChannel, Pipe.SourceChannel, SocketChannel
- public interface Channel
|
Method Summary |
void |
close()
Closes this channel |
boolean |
isOpen()
Tells whether this channel is open or not |
isOpen
public boolean isOpen()
- Tells whether this channel is open or not
close
public void close()
throws java.io.IOException
- Closes this channel