| Modifier and Type | Field and Description |
|---|---|
| pack-priv static String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Boolean | Returns: true if on different volumes, false otherwise or if an error occurredAttempts to determine whether both files are on different volumes. |
| pack-priv void | |
| public void | |
| public void | |
| public String |
| RENAMING_ERROR_URL | back to summary |
|---|---|
| pack-priv static String RENAMING_ERROR_URL | |
| RenameUtil | back to summary |
|---|---|
| public RenameUtil() | |
| areOnDifferentVolumes | back to summary |
|---|---|
| pack-priv Boolean areOnDifferentVolumes(File srcFile, File targetFile) throws RolloverFailure Attempts to determine whether both files are on different volumes. Returns true if we could determine that the files are on different volumes. Returns false otherwise or if an error occurred while doing the check.
| |
| createMissingTargetDirsIfNecessary | back to summary |
|---|---|
| pack-priv void createMissingTargetDirsIfNecessary(File toFile) throws RolloverFailure | |
| rename | back to summary |
|---|---|
| public void rename(String src, String target) throws RolloverFailure A relatively robust file renaming method which in case of failure due to src and target being on different volumes, falls back onto renaming by copying. | |
| renameByCopying | back to summary |
|---|---|
| public void renameByCopying(String src, String target) throws RolloverFailure | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |