|
Log4j 1.3alpha-3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.rolling.helper.Util
Utility class to help solving problems encontered while renameing files.
Constructor Summary | |
Util()
|
Method Summary | |
static void |
rename(java.lang.String from,
java.lang.String to)
A robust file renaming method which in case of failure falls back to renmaing by copying. |
static void |
renameByCopying(java.lang.String from,
java.lang.String to)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Util()
Method Detail |
public static void rename(java.lang.String from, java.lang.String to) throws RolloverFailure
from
- to
-
RolloverFailure
public static void renameByCopying(java.lang.String from, java.lang.String to) throws RolloverFailure
RolloverFailure
|
Log4j 1.3alpha-3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |