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