Package org.gvsig.tools.backup
Class DefaultBackupGenerator
java.lang.Object
org.gvsig.tools.backup.DefaultBackupGenerator
- All Implemented Interfaces:
BackupGenerator
Performs a backup of a file, into another file at the same path (directory), with the file extension changed to .bak.
- Author:
- Jose Ignacio Yarza (jiyarza@opensistemas.com), Pablo Piqueras Bartolomé (pablo.piqueras@iver.es)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultBackupGenerator
public DefaultBackupGenerator()
-
-
Method Details
-
backup
Description copied from interface:BackupGeneratorPerforms a backup of
source.- Specified by:
backupin interfaceBackupGenerator- Parameters:
source- the source file- Throws:
BackupException
-