Searched refs:REPLACE_EXISTING (Results 1 - 21 of 21) sorted by relevance

/openjdk7/jdk/src/share/classes/java/nio/file/
H A DStandardCopyOption.java38 REPLACE_EXISTING, enum constant in enum:StandardCopyOption
H A DCopyMoveHelper.java53 if (option == StandardCopyOption.REPLACE_EXISTING) {
115 // delete target if it exists and REPLACE_EXISTING is specified
H A DFiles.java1142 * <td> {@link StandardCopyOption#REPLACE_EXISTING REPLACE_EXISTING} </td>
1174 * {@code REPLACE_EXISTING} option is specified and the target file exists,
1202 * {@code REPLACE_EXISTING} option is not specified <i>(optional
1205 * the {@code REPLACE_EXISTING} option is specified but the file
1260 * <td> {@link StandardCopyOption#REPLACE_EXISTING REPLACE_EXISTING} </td>
1305 * Files.move(source, newdir.resolve(source.getFileName()), REPLACE_EXISTING);
1322 * {@code REPLACE_EXISTING} option is not specified <i>(optional
1325 * the {@code REPLACE_EXISTING} optio
[all...]
/openjdk7/hotspot/test/testlibrary/
H A DClassFileInstaller.java50 Files.copy(is, p, StandardCopyOption.REPLACE_EXISTING);
/openjdk7/jdk/test/lib/testlibrary/
H A DClassFileInstaller.java50 Files.copy(is, p, StandardCopyOption.REPLACE_EXISTING);
/openjdk7/jdk/test/java/nio/file/Files/
H A DCopyAndMove.java276 moveAndVerify(source, target, REPLACE_EXISTING);
285 moveAndVerify(source, target, REPLACE_EXISTING);
294 moveAndVerify(source, target, REPLACE_EXISTING);
372 moveAndVerify(source, target, REPLACE_EXISTING);
381 moveAndVerify(source, target, REPLACE_EXISTING);
390 moveAndVerify(source, target, REPLACE_EXISTING);
402 moveAndVerify(source, target, REPLACE_EXISTING);
509 moveAndVerify(source, target, REPLACE_EXISTING);
521 moveAndVerify(source, target, REPLACE_EXISTING);
553 moveAndVerify(source, target, REPLACE_EXISTING);
[all...]
H A DInterruptCopy.java108 StandardCopyOption.REPLACE_EXISTING);
/openjdk7/jdk/src/share/sample/nio/file/
H A DCopy.java69 new CopyOption[] { COPY_ATTRIBUTES, REPLACE_EXISTING } :
70 new CopyOption[] { REPLACE_EXISTING };
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DReadZip.java64 newZip.toPath(), StandardCopyOption.REPLACE_EXISTING);
/openjdk7/jdk/test/demo/zipfs/
H A DBasic.java86 Files.copy(source, target, StandardCopyOption.REPLACE_EXISTING);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileCopy.java58 if (option == StandardCopyOption.REPLACE_EXISTING) {
269 if (option == StandardCopyOption.REPLACE_EXISTING) {
/openjdk7/jdk/src/macosx/bundle/appbundler/src/com/oracle/appbundler/
H A DAppBundlerTask.java466 Files.copy(in, file.toPath(), StandardCopyOption.REPLACE_EXISTING);
474 Files.copy(sourcePath, destinationPath, StandardCopyOption.REPLACE_EXISTING, LinkOption.NOFOLLOW_LINKS);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixCopyFile.java68 if (option == StandardCopyOption.REPLACE_EXISTING) {
103 if (option == StandardCopyOption.REPLACE_EXISTING) {
416 // 2. throw exception if REPLACE_EXISTING option is not set
417 // 3. delete target if REPLACE_EXISTING option set
538 // 2. throw exception if REPLACE_EXISTING option is not set
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/
H A DURLJarFile.java220 Files.copy(in, tmpFile, StandardCopyOption.REPLACE_EXISTING);
/openjdk7/jdk/src/share/demo/nio/zipfs/
H A DDemo.java438 Files.copy(src, dst, REPLACE_EXISTING);
456 Files.copy(src, dst, REPLACE_EXISTING);
/openjdk7/jdk/test/java/util/zip/
H A DLargeZip.java213 Files.copy(src, dst, REPLACE_EXISTING);
/openjdk7/jdk/src/share/classes/sun/tools/jar/
H A DMain.java39 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
1025 Files.move(tmpPath, jarPath, REPLACE_EXISTING);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystem.java452 if (opt == REPLACE_EXISTING)
477 Files.copy(eSrc.file, u.file, REPLACE_EXISTING);
844 Files.copy(is, tmpPath, REPLACE_EXISTING);
1289 Files.move(zfpath, ecc.path, REPLACE_EXISTING);
1297 Files.move(tmpFile, zfpath, REPLACE_EXISTING);
H A DZipPath.java826 if (opt == REPLACE_EXISTING)
/openjdk7/jdk/test/tools/launcher/
H A DTestHelper.java332 Files.copy(src.toPath(), dst.toPath(), COPY_ATTRIBUTES, REPLACE_EXISTING);
/openjdk7/jdk/test/tools/pack200/
H A DUtils.java190 Files.copy(src.toPath(), dst.toPath(), COPY_ATTRIBUTES, REPLACE_EXISTING);

Completed in 73 milliseconds