public class RenameUtil extends ContextAwareBase
Constructor and Description |
---|
RenameUtil() |
Modifier and Type | Method and Description |
---|---|
void |
rename(java.lang.String src,
java.lang.String target)
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.
|
void |
renameByCopying(java.lang.String src,
java.lang.String target) |
java.lang.String |
toString() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
public void rename(java.lang.String src, java.lang.String target) throws RolloverFailure
src
- target
- RolloverFailure
public void renameByCopying(java.lang.String src, java.lang.String target) throws RolloverFailure
RolloverFailure
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved