# 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.ByteChannel, java.nio.channels.GatheringByteChannel, java.nio.channels.ScatteringByteChannel)
    - 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.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
        - java.nio.channels.SocketChannel (implements java.nio.channels.ByteChannel, java.nio.channels.GatheringByteChannel, java.nio.channels.ScatteringByteChannel)
  - java.nio.channels.Channels
  - java.nio.channels.FileChannel.MapMode
  - java.nio.channels.FileLock
  - java.nio.channels.Pipe
  - java.nio.channels.SelectionKey
  - java.nio.channels.Selector
  - 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.lang.RuntimeException
        - java.lang.IllegalArgumentException
          - java.nio.channels.IllegalSelectorException
          - java.nio.channels.UnresolvedAddressException
          - java.nio.channels.UnsupportedAddressTypeException
        - java.lang.IllegalStateException
          - 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

## Interface Hierarchy

- java.io.Closeable
  - java.nio.channels.Channel
    - java.nio.channels.InterruptibleChannel
    - java.nio.channels.ReadableByteChannel
      - java.nio.channels.ByteChannel (also extends java.nio.channels.WritableByteChannel)
      - java.nio.channels.ScatteringByteChannel
    - java.nio.channels.WritableByteChannel
      - java.nio.channels.ByteChannel (also extends java.nio.channels.ReadableByteChannel)
      - java.nio.channels.GatheringByteChannel

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.