インタフェースOpenOption
- 既知のすべての実装クラス:
LinkOption,StandardOpenOption
public interface OpenOption
ファイルを開くまたは作成する方法を構成するオブジェクトです。
このタイプのオブジェクトは、ファイルを開いたり作成したりする場合に、newOutputStream、newByteChannel、FileChannel.open、AsynchronousFileChannel.openなどのメソッドで使用されます。
StandardOpenOption列挙型は、標準オプションを定義します。
- 導入されたバージョン:
- 1.7