src/share/classes/java/nio/file/CopyOption.java

Print this page

        

*** 26,37 **** package java.nio.file; /** * An object that configures how to copy or move a file. * ! * <p> Objects of this type may be used with the {@link Path#copyTo copyTo} and ! * {@link Path#moveTo moveTo} methods to configure how a file is copied or moved. * * <p> The {@link StandardCopyOption} enumeration type defines the * <i>standard</i> options. * * @since 1.7 --- 26,41 ---- package java.nio.file; /** * An object that configures how to copy or move a file. * ! * <p> Objects of this type may be used with the {@link ! * Files#copy(Path,Path,CopyOption[]) Files.copy(Path,Path,CopyOption...)}, ! * {@link Files#copy(java.io.InputStream,Path,CopyOption[]) ! * Files.copy(InputStream,Path,CopyOption...)} and {@link Files#move ! * Files.move(Path,Path,CopyOption...)} methods to configure how a file is ! * copied or moved. * * <p> The {@link StandardCopyOption} enumeration type defines the * <i>standard</i> options. * * @since 1.7