| Modifier and Type | Class and Description |
|---|---|
| private static class | CopyMoveHelper.
Parses the arguments for a file copy operation. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static CopyOption[] | convertMoveToCopyOptions(CopyOption... options)
Converts the given array of options for moving a file to options suitable for copying the file when a move is implemented as copy + delete. |
| pack-priv static void | copyToForeignTarget(Path source, Path target, CopyOption... options)
Simple copy for use when source and target are associated with different providers |
| pack-priv static void | moveToForeignTarget(Path source, Path target, CopyOption... options)
Simple move implements as copy+delete for use when source and target are associated with different providers |
| CopyMoveHelper | back to summary |
|---|---|
| private CopyMoveHelper() | |
| convertMoveToCopyOptions | back to summary |
|---|---|
| private static CopyOption[] convertMoveToCopyOptions(CopyOption... options) throws AtomicMoveNotSupportedException Converts the given array of options for moving a file to options suitable for copying the file when a move is implemented as copy + delete. | |
| copyToForeignTarget | back to summary |
|---|---|
| pack-priv static void copyToForeignTarget(Path source, Path target, CopyOption... options) throws IOException Simple copy for use when source and target are associated with different providers | |
| moveToForeignTarget | back to summary |
|---|---|
| pack-priv static void moveToForeignTarget(Path source, Path target, CopyOption... options) throws IOException Simple move implements as copy+delete for use when source and target are associated with different providers | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static CopyMoveHelper. |
| copyAttributes | back to summary |
|---|---|
| pack-priv boolean copyAttributes | |
| followLinks | back to summary |
|---|---|
| pack-priv boolean followLinks | |
| replaceExisting | back to summary |
|---|---|
| pack-priv boolean replaceExisting | |
| CopyOptions | back to summary |
|---|---|
| private CopyOptions() | |
| parse | back to summary |
|---|---|
| pack-priv static CopyMoveHelper. | |