|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.infoteria.asteria.util.file.BackupFile
指定の世代だけファイルのバックアップを作成します。
バックアップファイル名は新しいものから「<元ファイル名>.1」のように
ファイル名の後ろに連番が付加されます。
| Constructor Summary | |
BackupFile(java.io.File file,
int size)
コンストラクタ |
|
| Method Summary | |
void |
backup()
バックアップを作成します |
java.io.File |
getFile()
バックアップ対象ファイルを返します |
int |
size()
バックアップ世代数を返します |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BackupFile(java.io.File file,
int size)
file - バックアップ対象ファイルsize - 世代数| Method Detail |
public java.io.File getFile()
public int size()
public void backup()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||