public class RenameUtil extends ContextAwareBase
context| Constructor and Description |
|---|
RenameUtil() |
| Modifier and Type | Method and Description |
|---|---|
void |
rename(java.lang.String from,
java.lang.String to)
A robust file renaming method which in case of failure falls back to
renaming by copying.
|
void |
renameByCopying(java.lang.String from,
java.lang.String to) |
java.lang.String |
toString() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic void rename(java.lang.String from,
java.lang.String to)
throws RolloverFailure
from - to - RolloverFailurepublic void renameByCopying(java.lang.String from,
java.lang.String to)
throws RolloverFailure
RolloverFailurepublic java.lang.String toString()
toString in class java.lang.Object