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.
48 lines
613 B
48 lines
613 B
/*
|
|
* Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
package java.nio.file;
|
|
|
|
/**
|
|
* Defines the standard copy options.
|
|
*
|
|
* @since 1.7
|
|
*/
|
|
|
|
public enum StandardCopyOption implements CopyOption {
|
|
/**
|
|
* Replace an existing file if it exists.
|
|
*/
|
|
REPLACE_EXISTING,
|
|
/**
|
|
* Copy attributes to the new file.
|
|
*/
|
|
COPY_ATTRIBUTES,
|
|
/**
|
|
* Move the file as an atomic file system operation.
|
|
*/
|
|
ATOMIC_MOVE;
|
|
}
|