Class RenameUtil
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.rolling.helper.RenameUtil
-
- All Implemented Interfaces:
ContextAware
@Deprecated(since="2022-01-27") public class RenameUtil extends ContextAwareBase
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Utility class to help solving problems encountered while renaming files.
-
-
Constructor Summary
Constructors Constructor Description RenameUtil()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
rename(java.lang.String src, java.lang.String target)
Deprecated.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)
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
rename
public void rename(java.lang.String src, java.lang.String target) throws RolloverFailure
Deprecated.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.- Parameters:
src
-target
-- Throws:
RolloverFailure
-
renameByCopying
public void renameByCopying(java.lang.String src, java.lang.String target) throws RolloverFailure
Deprecated.- Throws:
RolloverFailure
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-