Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 462
نمايش فراداده

AbstractInterruptibleChanneljava.nio.channels.spi

Java 1.4closeable

This class exists as a convenience for implementors of new Channel classes. Application programmers should never need to subclass or use it.

Figure 13-43. java.nio.channels.spi.AbstractInterruptibleChannel

public abstract class

AbstractInterruptibleChannel implements java.nio.channels.Channel, java.nio.channels.InterruptibleChannel { // Protected Constructors protected

AbstractInterruptibleChannel ( ); // Methods Implementing Channel public final void

close ( ) throws java.io.IOException; public final boolean

isOpen ( ); // Protected Instance Methods protected final void

begin ( ); protected final void

end (boolean

completed ) throws java.nio.channels.AsynchronousCloseException; protected abstract void

implCloseChannel ( ) throws java.io.IOException; }

Subclasses

java.nio.channels.FileChannel, java.nio.channels.SelectableChannel