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