public class SafelyMoveFiles extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SafelyMoveFiles.SafelyMoveFilesBuilder |
| Modifier and Type | Field and Description |
|---|---|
static int |
DELAY_BETWEEN_FILE_ACCESSES_IN_MS |
| Constructor and Description |
|---|
SafelyMoveFiles(Path origin,
int maxRetries) |
| Modifier and Type | Method and Description |
|---|---|
Path |
to(Path destination) |
static SafelyMoveFiles.SafelyMoveFilesBuilder |
withMaxRetriesOf(int maxRetries) |
public static final int DELAY_BETWEEN_FILE_ACCESSES_IN_MS
public SafelyMoveFiles(Path origin, int maxRetries)
public static SafelyMoveFiles.SafelyMoveFilesBuilder withMaxRetriesOf(int maxRetries)
public Path to(Path destination) throws IOException
IOExceptionCopyright © 2023. All rights reserved.