# Hierarchy For Package java.nio.channels

Package Hierarchies:

- All Packages

## Class Hierarchy

- java.lang.Object
  - java.nio.channels.spi.AbstractInterruptibleChannel (implements java.nio.channels.Channel, java.nio.channels.InterruptibleChannel)
    - java.nio.channels.FileChannel (implements java.nio.channels.GatheringByteChannel, java.nio.channels.ScatteringByteChannel, java.nio.channels.SeekableByteChannel)
    - java.nio.channels.SelectableChannel (implements java.nio.channels.Channel)
      - java.nio.channels.spi.AbstractSelectableChannel
        - java.nio.channels.DatagramChannel (implements java.nio.channels.ByteChannel, java.nio.channels.GatheringByteChannel, java.nio.channels.MulticastChannel, java.nio.channels.ScatteringByteChannel)
        - java.nio.channels.Pipe.SinkChannel (implements java.nio.channels.GatheringByteChannel, java.nio.channels.WritableByteChannel)
        - java.nio.channels.Pipe.SourceChannel (implements java.nio.channels.ReadableByteChannel, java.nio.channels.ScatteringByteChannel)
        - java.nio.channels.ServerSocketChannel (implements java.nio.channels.NetworkChannel)
        - java.nio.channels.SocketChannel (implements java.nio.channels.ByteChannel, java.nio.channels.GatheringByteChannel, java.nio.channels.NetworkChannel, java.nio.channels.ScatteringByteChannel)
  - java.nio.channels.AsynchronousChannelGroup
  - java.nio.channels.AsynchronousFileChannel (implements java.nio.channels.AsynchronousChannel)
  - java.nio.channels.AsynchronousServerSocketChannel (implements java.nio.channels.AsynchronousChannel, java.nio.channels.NetworkChannel)
  - java.nio.channels.AsynchronousSocketChannel (implements java.nio.channels.AsynchronousByteChannel, java.nio.channels.NetworkChannel)
  - java.nio.channels.Channels
  - java.nio.channels.FileChannel.MapMode
  - java.nio.channels.FileLock (implements java.lang.AutoCloseable)
  - java.nio.channels.MembershipKey
  - java.nio.channels.Pipe
  - java.nio.channels.SelectionKey
  - java.nio.channels.Selector (implements java.io.Closeable)
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - java.io.IOException
        - java.nio.channels.ClosedChannelException
          - java.nio.channels.AsynchronousCloseException
            - java.nio.channels.ClosedByInterruptException
        - java.nio.channels.FileLockInterruptionException
        - java.nio.channels.InterruptedByTimeoutException
      - java.lang.RuntimeException
        - java.lang.IllegalArgumentException
          - java.nio.channels.IllegalChannelGroupException
          - java.nio.channels.IllegalSelectorException
          - java.nio.channels.UnresolvedAddressException
          - java.nio.channels.UnsupportedAddressTypeException
        - java.lang.IllegalStateException
          - java.nio.channels.AcceptPendingException
          - java.nio.channels.AlreadyBoundException
          - java.nio.channels.AlreadyConnectedException
          - java.nio.channels.CancelledKeyException
          - java.nio.channels.ClosedSelectorException
          - java.nio.channels.ConnectionPendingException
          - java.nio.channels.IllegalBlockingModeException
          - java.nio.channels.NoConnectionPendingException
          - java.nio.channels.NonReadableChannelException
          - java.nio.channels.NonWritableChannelException
          - java.nio.channels.NotYetBoundException
          - java.nio.channels.NotYetConnectedException
          - java.nio.channels.OverlappingFileLockException
          - java.nio.channels.ReadPendingException
          - java.nio.channels.ShutdownChannelGroupException
          - java.nio.channels.WritePendingException

## Interface Hierarchy

- java.lang.AutoCloseable
  - java.io.Closeable
    - java.nio.channels.Channel
      - java.nio.channels.AsynchronousChannel
        - java.nio.channels.AsynchronousByteChannel
      - java.nio.channels.InterruptibleChannel
      - java.nio.channels.NetworkChannel
        - java.nio.channels.MulticastChannel
      - java.nio.channels.ReadableByteChannel
        - java.nio.channels.ByteChannel (also extends java.nio.channels.WritableByteChannel)
          - java.nio.channels.SeekableByteChannel
        - java.nio.channels.ScatteringByteChannel
      - java.nio.channels.WritableByteChannel
        - java.nio.channels.ByteChannel (also extends java.nio.channels.ReadableByteChannel)
          - java.nio.channels.SeekableByteChannel
        - java.nio.channels.GatheringByteChannel
- java.nio.channels.CompletionHandler<V,A>

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.