|
Log4j 1.3alpha-6 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.spi.ComponentBase | +--org.apache.log4j.rolling.helper.Util
Utility class to help solving problems encontered while renameing files.
Field Summary |
Fields inherited from class org.apache.log4j.spi.ComponentBase |
repository |
Constructor Summary | |
Util()
|
Method Summary | |
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. |
void |
renameByCopying(java.lang.String from,
java.lang.String to)
|
Methods inherited from class org.apache.log4j.spi.ComponentBase |
getLogger, setLoggerRepository |
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 void rename(java.lang.String from, java.lang.String to) throws RolloverFailure
from
- to
-
RolloverFailure
public void renameByCopying(java.lang.String from, java.lang.String to) throws RolloverFailure
RolloverFailure
|
Log4j 1.3alpha-6 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |