Class AppendModeChannel

All Implemented Interfaces:
Closeable, AutoCloseable, ByteChannel, Channel, GatheringByteChannel, InterruptibleChannel, ReadableByteChannel, ScatteringByteChannel, SeekableByteChannel, WritableByteChannel

public class AppendModeChannel extends FileChannel
A Channel wrapper that will seek to the end of the open file on any write() operations by performing a seek to eof beforehand. Motivated by a+ mode which requires RandomAccessFile in pure-Java mode but has no append option ala O_APPEND to open(2).