Home
last modified time | relevance | path

Searched refs:StandardCopyOption (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DCopyMoveHelper.java53 if (option == StandardCopyOption.REPLACE_EXISTING) { in parse()
61 if (option == StandardCopyOption.COPY_ATTRIBUTES) { in parse()
85 if (option == StandardCopyOption.ATOMIC_MOVE) { in convertMoveToCopyOptions()
92 newOptions[len+1] = StandardCopyOption.COPY_ATTRIBUTES; in convertMoveToCopyOptions()
DStandardCopyOption.java34 public enum StandardCopyOption implements CopyOption { enum
DFiles.java2989 if (opt == StandardCopyOption.REPLACE_EXISTING) {
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixCopyFile.java68 if (option == StandardCopyOption.REPLACE_EXISTING) { in fromCopyOptions()
76 if (option == StandardCopyOption.COPY_ATTRIBUTES) { in fromCopyOptions()
99 if (option == StandardCopyOption.ATOMIC_MOVE) { in fromMoveOptions()
103 if (option == StandardCopyOption.REPLACE_EXISTING) { in fromMoveOptions()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DURLJarFile.java32 import java.nio.file.StandardCopyOption;
224 Files.copy(in, tmpFile, StandardCopyOption.REPLACE_EXISTING); in retrieve()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectInputStream2Test.java34 import java.nio.file.StandardCopyOption;
232 Files.copy(dexIs, sameFieldNames.toPath(), StandardCopyOption.REPLACE_EXISTING); in test_sameName()
DObjectStreamClassTest.java34 import java.nio.file.StandardCopyOption;
297 Files.copy(dexIs, sameFieldNames.toPath(), StandardCopyOption.REPLACE_EXISTING); in testClassWithSameFieldName()
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProviderTest.java53 import static java.nio.file.StandardCopyOption.ATOMIC_MOVE;
54 import static java.nio.file.StandardCopyOption.COPY_ATTRIBUTES;
55 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
DDefaultFileSystemProvider2Test.java59 import static java.nio.file.StandardCopyOption.ATOMIC_MOVE;
60 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
/libcore/
Dopenjdk_java_files.bp491 "ojluni/src/main/java/java/nio/file/StandardCopyOption.java",