|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfacets.util.Util.FileBackup
public static class Util.FileBackup
Encapsulates making a back-up copy of a file.
| Constructor Summary | |
|---|---|
Util.FileBackup(java.io.File src)
|
|
| Method Summary | |
|---|---|
java.io.File |
doBackup()
|
protected java.io.File |
newBackupFile(java.io.File src)
|
protected boolean |
overwriteExisting()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util.FileBackup(java.io.File src)
| Method Detail |
|---|
public final java.io.File doBackup()
throws java.io.IOException
java.io.IOExceptionprotected boolean overwriteExisting()
protected java.io.File newBackupFile(java.io.File src)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||