Module java.base
Package java.nio.channels

# Class FileChannel

=
public abstract class FileChannel
extends java.nio.channels.spi.AbstractInterruptibleChannel
implements java.nio.channels.GatheringByteChannel, java.nio.channels.ScatteringByteChannel, java.nio.channels.SeekableByteChannel

## Nested Types

- = MapMode

## Constructors

- =
  protected FileChannel()

## Methods

- =
  public abstract void force(boolean arg0) throws java.io.IOException
- =
  public final java.nio.channels.FileLock lock() throws java.io.IOException
- =
  public abstract java.nio.channels.FileLock lock(long arg0, long arg1, boolean arg2) throws java.io.IOException
- =
  public abstract java.nio.MappedByteBuffer map(java.nio.channels.FileChannel.MapMode arg0, long arg1, long arg2) throws java.io.IOException
- =
  public java.lang.foreign.MemorySegment map(java.nio.channels.FileChannel.MapMode arg0, long arg1, long arg2, java.lang.foreign.Arena arg3) throws java.io.IOException
- =
  public static java.nio.channels.FileChannel open(java.nio.file.Path arg0, java.nio.file.OpenOption[] arg1) throws java.io.IOException
- =
  public static java.nio.channels.FileChannel open(java.nio.file.Path arg0, java.util.Set<? extends java.nio.file.OpenOption> arg1, java.nio.file.attribute.FileAttribute<?>[] arg2) throws java.io.IOException
- =
  public abstract long position() throws java.io.IOException
- =
  public abstract java.nio.channels.FileChannel position(long arg0) throws java.io.IOException
- =
  public final long read(java.nio.ByteBuffer[] arg0) throws java.io.IOException
- =
  public abstract long read(java.nio.ByteBuffer[] arg0, int arg1, int arg2) throws java.io.IOException
- =
  public abstract int read(java.nio.ByteBuffer arg0) throws java.io.IOException
- =
  public abstract int read(java.nio.ByteBuffer arg0, long arg1) throws java.io.IOException
- =
  public abstract long size() throws java.io.IOException
- =
  public abstract long transferFrom(java.nio.channels.ReadableByteChannel arg0, long arg1, long arg2) throws java.io.IOException
- =
  public abstract long transferTo(long arg0, long arg1, java.nio.channels.WritableByteChannel arg2) throws java.io.IOException
- =
  public abstract java.nio.channels.FileChannel truncate(long arg0) throws java.io.IOException
- =
  public final java.nio.channels.FileLock tryLock() throws java.io.IOException
- =
  public abstract java.nio.channels.FileLock tryLock(long arg0, long arg1, boolean arg2) throws java.io.IOException
- =
  public final long write(java.nio.ByteBuffer[] arg0) throws java.io.IOException
- =
  public abstract long write(java.nio.ByteBuffer[] arg0, int arg1, int arg2) throws java.io.IOException
- =
  public abstract int write(java.nio.ByteBuffer arg0) throws java.io.IOException
- =
  public abstract int write(java.nio.ByteBuffer arg0, long arg1) throws java.io.IOException

## Summary

No differences.