模块 java.base

接口 OpenOption

所有已知的实现类:
LinkOption , StandardOpenOption

public interface OpenOption
配置如何打开或创建文件的对象。

打开或创建文件时,此类对象由 newOutputStream newByteChannel FileChannel.open AsynchronousFileChannel.open 等方法使用。

StandardOpenOption 枚举类型定义了标准选项。

自从:
1.7