public class DefaultBackupGenerator extends java.lang.Object implements BackupGenerator
Performs a backup of a file, into another file at the same path (directory), with the file extension changed to .bak.
| Constructor and Description |
|---|
DefaultBackupGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
backup(java.io.File source)
Performs a backup of
source. |
public void backup(java.io.File source)
throws BackupException
BackupGeneratorPerforms a backup of source.
backup in interface BackupGeneratorsource - the source fileBackupException