The methods of Java.Nio.Channels.FileChannel are listed below. For a list of all members, see the FileChannel Members list.
See Also: Inherited members from Java.Nio.Channels.Spi.AbstractInterruptibleChannel
abstract | Force(bool)Requests that all updates to this channel are committed to the storage device. | |
ForceAsync(bool)Documentation for this section has not yet been entered. | ||
Lock()Obtains an exclusive lock on this file. | ||
abstract | Lock(long, long, bool)Obtains a lock on a specified region of the file. | |
abstract | Map(FileChannel.MapMode, long, long)Maps the file into memory. | |
abstract | Position()Returns the current position as a positive integer number of bytes from the start of the file. | |
abstract | Position(long)Sets the file position pointer to a new value. | |
abstract | Read(Java.Nio.ByteBuffer)Reads bytes from this file channel into the given buffer. | |
Read(Java.Nio.ByteBuffer[])Reads bytes from this file channel and stores them in the specified array of buffers. | ||
abstract | Read(Java.Nio.ByteBuffer, long)Reads bytes from this file channel into the given buffer starting from the specified file position. | |
abstract | Read(Java.Nio.ByteBuffer[], int, int)Reads bytes from this file channel into a subset of the given buffers. | |
ReadAsync(Java.Nio.ByteBuffer)Documentation for this section has not yet been entered. | ||
ReadAsync(Java.Nio.ByteBuffer[])Documentation for this section has not yet been entered. | ||
ReadAsync(Java.Nio.ByteBuffer, long)Documentation for this section has not yet been entered. | ||
ReadAsync(Java.Nio.ByteBuffer[], int, int)Documentation for this section has not yet been entered. | ||
abstract | Size()Returns the size of the file underlying this channel in bytes. | |
abstract | TransferFrom(IReadableByteChannel, long, long)Reads up to count bytes from src and stores them in this channel's file starting at position. | |
TransferFromAsync(IReadableByteChannel, long, long)Documentation for this section has not yet been entered. | ||
abstract | TransferTo(long, long, IWritableByteChannel)Reads up to count bytes from this channel's file starting at position and writes them to target. | |
TransferToAsync(long, long, IWritableByteChannel)Documentation for this section has not yet been entered. | ||
abstract | Truncate(long)Truncates the file underlying this channel to a given size. | |
TruncateAsync(long)Documentation for this section has not yet been entered. | ||
TryLock()Attempts to acquire an exclusive lock on this file without blocking. | ||
abstract | TryLock(long, long, bool)Attempts to acquire an exclusive lock on this file without blocking. | |
abstract | Write(Java.Nio.ByteBuffer)Writes bytes from the given byte buffer to this file channel. | |
Write(Java.Nio.ByteBuffer[])Writes bytes from all the given byte buffers to this file channel. | ||
abstract | Write(Java.Nio.ByteBuffer, long)Writes bytes from the given buffer to this file channel starting at the given file position. | |
abstract | Write(Java.Nio.ByteBuffer[], int, int)Attempts to write a subset of the given bytes from the buffers to this file channel. | |
WriteAsync(Java.Nio.ByteBuffer)Documentation for this section has not yet been entered. | ||
WriteAsync(Java.Nio.ByteBuffer[])Documentation for this section has not yet been entered. | ||
WriteAsync(Java.Nio.ByteBuffer, long)Documentation for this section has not yet been entered. | ||
WriteAsync(Java.Nio.ByteBuffer[], int, int)Documentation for this section has not yet been entered. |