-
- 所有已知实现类:
-
LinkOption,StandardOpenOption
public interface OpenOption配置如何打开或创建文件的对象。这种类型的目的是通过如方法中使用
newOutputStream,newByteChannel,FileChannel.open,和AsynchronousFileChannel.open打开或创建文件时。StandardOpenOption枚举类型定义了标准选项。- 从以下版本开始:
- 1.7