Package org.jbundle.jbackup.destination
Class BaseDestination
- java.lang.Object
-
- org.jbundle.jbackup.destination.BaseDestination
-
- All Implemented Interfaces:
DestinationFile,JBackupConstants,org.jbundle.util.apprunner.PropertyOwner
- Direct Known Subclasses:
DebugDestination,FilesystemDestination,FtpDestination,HttpDestination,ZipDestination
public class BaseDestination extends Object implements DestinationFile, JBackupConstants, org.jbundle.util.apprunner.PropertyOwner
Directory scanner. This class is a utility for scanning through a directory tree.- Version:
- Author:
- Administrator
-
-
Field Summary
-
Fields inherited from interface org.jbundle.jbackup.JBackupConstants
BACKUP_INCREMENTAL_PARAM, BACKUPDATE_PARAM, BASE_URL_PARAM, BLANK, CALC_FILE_LENGTH_PARAM, DEBUG, DEFAULT_PROPERTY_FILENAME, DEFAULT_ROOT_DIR, DEST_ROOT_PATHNAME_PARAM, DESTINATION_PARAM, FALSE, FILTER_PARAM, FTP_HOST, FTP_PORT, HTTP, LOG_FILENAME_PARAM, MAX_LEVELS, MAX_SIZE_PARAM, PASSWORD, PROPERTY_FILENAME_PARAM, PROPERTY_QUIET_PARAM, ROOT_DIR, ROOT_PACKAGE, SOURCE_PARAM, SOURCE_ROOT_PATHNAME_PARAM, TRUE, USER_NAME, ZIPIN_FILENAME_PARAM, ZIPOUT_FILENAME_PARAM, ZIPOUT_PATHNAME_PARAM
-
-
Constructor Summary
Constructors Constructor Description BaseDestination()BaseDestination(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longaddNextFile(SourceFile source)voidfinishTransfer(Properties properties)org.jbundle.util.apprunner.PropertyViewgetPropertyView(Properties properties)voidinit(Properties properties)voidinitTransfer(Properties properties)voidsetProperties(Properties properties)
-
-
-
Constructor Detail
-
BaseDestination
public BaseDestination()
-
BaseDestination
public BaseDestination(Properties properties)
-
-
Method Detail
-
init
public void init(Properties properties)
-
initTransfer
public void initTransfer(Properties properties)
- Specified by:
initTransferin interfaceDestinationFile
-
finishTransfer
public void finishTransfer(Properties properties)
- Specified by:
finishTransferin interfaceDestinationFile
-
addNextFile
public long addNextFile(SourceFile source)
- Specified by:
addNextFilein interfaceDestinationFile
-
getPropertyView
public org.jbundle.util.apprunner.PropertyView getPropertyView(Properties properties)
- Specified by:
getPropertyViewin interfaceorg.jbundle.util.apprunner.PropertyOwner
-
setProperties
public void setProperties(Properties properties)
- Specified by:
setPropertiesin interfaceorg.jbundle.util.apprunner.PropertyOwner
-
-