Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.nio.channels
Interface Channel  view Channel download Channel.java

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
 

Method Detail

isOpen

public boolean isOpen()
Tells whether this channel is open or not


close

public void close()
           throws java.io.IOException
Closes this channel