You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
823 B
46 lines
823 B
/*
|
|
* Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
package java.nio.file;
|
|
|
|
/**
|
|
* An object that configures how to open or create a file.
|
|
*
|
|
* <p> Objects of this type are used by methods such as {@link
|
|
* Files#newOutputStream(Path,OpenOption[]) newOutputStream}, {@link
|
|
* Files#newByteChannel newByteChannel}, {@link
|
|
* java.nio.channels.FileChannel#open FileChannel.open}, and {@link
|
|
* java.nio.channels.AsynchronousFileChannel#open AsynchronousFileChannel.open}
|
|
* when opening or creating a file.
|
|
*
|
|
* <p> The {@link StandardOpenOption} enumeration type defines the
|
|
* <i>standard</i> options.
|
|
*
|
|
* @since 1.7
|
|
*/
|
|
|
|
public interface OpenOption {
|
|
}
|