Home
last modified time | relevance | path

Searched refs:CopyOption (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DCopyMoveHelper.java50 static CopyOptions parse(CopyOption... options) { in parse()
52 for (CopyOption option: options) { in parse()
78 private static CopyOption[] convertMoveToCopyOptions(CopyOption... options) in convertMoveToCopyOptions()
82 CopyOption[] newOptions = new CopyOption[len+2]; in convertMoveToCopyOptions()
84 CopyOption option = options[i]; in convertMoveToCopyOptions()
101 CopyOption... options) in copyToForeignTarget()
155 CopyOption... options) throws IOException in moveToForeignTarget()
DCopyOption.java44 public interface CopyOption { interface
DLinkOption.java34 public enum LinkOption implements OpenOption, CopyOption {
DStandardCopyOption.java34 public enum StandardCopyOption implements CopyOption {
DFiles.java1268 public static Path copy(Path source, Path target, CopyOption... options)
1389 public static Path move(Path source, Path target, CopyOption... options)
2980 public static long copy(InputStream in, Path target, CopyOption... options)
2988 for (CopyOption opt: options) {
/libcore/ojluni/src/main/java/com/sun/nio/file/
DExtendedCopyOption.java28 import java.nio.file.CopyOption;
37 public enum ExtendedCopyOption implements CopyOption {
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystemProvider.java23 import java.nio.file.CopyOption;
87 public void copy(Path source, Path target, CopyOption... options) throws IOException { in copy()
92 public void move(Path source, Path target, CopyOption... options) throws IOException { in move()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixCopyFile.java64 static Flags fromCopyOptions(CopyOption... options) { in fromCopyOptions()
67 for (CopyOption option: options) { in fromCopyOptions()
96 static Flags fromMoveOptions(CopyOption... options) { in fromMoveOptions()
98 for (CopyOption option: options) { in fromMoveOptions()
372 static void move(UnixPath source, UnixPath target, CopyOption... options) in move()
507 CopyOption... options) throws IOException in copy()
DUnixFileSystemProvider.java250 public void copy(Path source, Path target, CopyOption... options) in copy()
259 public void move(Path source, Path target, CopyOption... options) in move()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesSetup.java29 import java.nio.file.CopyOption;
194 enum NonStandardOption implements CopyOption, OpenOption {
DFilesTest.java32 import java.nio.file.CopyOption;
384 CopyOption copyOption = mock(CopyOption.class); in test_copy()
DDefaultFileSystemProvider2Test.java29 import java.nio.file.CopyOption;
158 (CopyOption[]) null); in test_move_NPE()
DDefaultFileSystemProviderTest.java30 import java.nio.file.CopyOption;
665 (CopyOption[]) null); in test_copy_NPE()
DFiles2Test.java38 import java.nio.file.CopyOption;
119 CopyOption mockCopyOption = mock(CopyOption.class); in test_move()
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java808 public abstract void copy(Path source, Path target, CopyOption... options) in copy()
844 public abstract void move(Path source, Path target, CopyOption... options) in move()
/libcore/
Dopenjdk_java_files.bp451 "ojluni/src/main/java/java/nio/file/CopyOption.java",