public class DefaultBackupGenerator extends 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() |
public void backup(File source) throws BackupException
BackupGeneratorPerforms a backup of source.
backup in interface BackupGeneratorsource - the source fileBackupException