Package org.jbundle.jbackup.destination
Class FilesystemDestination
- java.lang.Object
-
- org.jbundle.jbackup.destination.BaseDestination
-
- org.jbundle.jbackup.destination.FilesystemDestination
-
- All Implemented Interfaces:
DestinationFile,JBackupConstants,org.jbundle.util.apprunner.PropertyOwner
public class FilesystemDestination extends BaseDestination implements DestinationFile
Directory scanner. This class is a utility for scanning through a directory tree.- Version:
- Author:
- Administrator
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringm_strPathname-
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 FilesystemDestination()FilesystemDestination(Properties properties)Creates new DirScanner.
-
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)-
Methods inherited from class org.jbundle.jbackup.destination.BaseDestination
setProperties
-
-
-
-
Field Detail
-
m_strPathname
protected String m_strPathname
-
-
Constructor Detail
-
FilesystemDestination
public FilesystemDestination()
-
FilesystemDestination
public FilesystemDestination(Properties properties)
Creates new DirScanner.- Parameters:
properties- If zip file is going to be larger than this, split it up into smaller files.
-
-
Method Detail
-
init
public void init(Properties properties)
- Overrides:
initin classBaseDestination
-
initTransfer
public void initTransfer(Properties properties)
- Specified by:
initTransferin interfaceDestinationFile- Overrides:
initTransferin classBaseDestination
-
finishTransfer
public void finishTransfer(Properties properties)
- Specified by:
finishTransferin interfaceDestinationFile- Overrides:
finishTransferin classBaseDestination
-
addNextFile
public long addNextFile(SourceFile source)
- Specified by:
addNextFilein interfaceDestinationFile- Overrides:
addNextFilein classBaseDestination
-
getPropertyView
public org.jbundle.util.apprunner.PropertyView getPropertyView(Properties properties)
- Specified by:
getPropertyViewin interfaceorg.jbundle.util.apprunner.PropertyOwner- Overrides:
getPropertyViewin classBaseDestination
-
-