Package org.entityfs.util.dirdiff

This package contains the DirectoryDifferentiator, the DirectoryTreeDifferentiator, the DirectorySynchronizer and the DirectoryTreeSynchronizer.

See:
          Description

Interface Summary
EntityMatchStrategy This strategy object is used by a DirectoryDifferentiator to see if an entity in the master directory has a matching entity in the target directory.
UnmatchedMasterEntityStrategy This strategy object is invoked by a DirectoryDifferentiator for each entity in the master directory that did not have a matching entity in the target directory.
UnmatchedTargetEntityStrategy This strategy object is invoked by a DirectoryDifferentiator for each entity in the target directory that did not have a matching entity in the master directory.
 

Class Summary
CopyUnmatchedMasterEntityStrategy This UnmatchedMasterEntityStrategy copies an unmatched master entity to the target directory.
DeleteUnmatchedTargetEntityStrategy This UnmatchedTargetEntityStrategy deletes unmatched target entities.
DirectoryDifferentiator The DirectoryDifferentiator is used for calculating differences between a master directory and a target directory.
DirectorySynchronizer This is a version of the DirectoryDifferentiator that is used for synchronizing the files and subdirectories from a master directory to a target directory.
DirectoryTreeDifferentiator This is a recursive DirectoryDifferentiator that is used for analyzing differences between a master directory hierarchy and a target directory hierarchy.
DirectoryTreeSynchronizer This is a version of the DirectoryTreeDifferentiator that can be used to synchronize the files and directories of a master directory hierarchy to a target directory hierarchy.
EntitySizeAndFileModificationTimeMatchStrategy This EntityMatchStrategy matches entities with the same names and types.
EntitySizeAndModificationTimeMatchStrategy This EntityMatchStrategy matches entities with the same names and types.
FileSizeAndModificationTimeMatchStrategy This EntityMatchStrategy only matches files with the same names and sizes.
 

Package org.entityfs.util.dirdiff Description

This package contains the DirectoryDifferentiator, the DirectoryTreeDifferentiator, the DirectorySynchronizer and the DirectoryTreeSynchronizer.

Since:
1.0
Author:
Karl Gustafsson