
net.sf.javagimmicks.io.folderdiff.FolderDiff Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of GimmickUtils Show documentation
Show all versions of GimmickUtils Show documentation
Utility classes, APIs and tools for Java
The newest version!
package net.sf.javagimmicks.io.folderdiff;
import java.io.File;
import java.util.SortedSet;
public class FolderDiff
{
private final File _sourceFolder;
private final File _targetFolder;
private final SortedSet _filesDifferent;
private final SortedSet _filesSourceOnly;
private final SortedSet _filesTargetOnly;
private final SortedSet _filesEqual;
private final SortedSet _filesAll;
FolderDiff(File sourceFolder, File targetFolder,
SortedSet all, SortedSet equal,
SortedSet different, SortedSet sourceOnly,
SortedSet targetOnly)
{
_sourceFolder = sourceFolder;
_targetFolder = targetFolder;
_filesDifferent = different;
_filesSourceOnly = sourceOnly;
_filesTargetOnly = targetOnly;
_filesEqual = equal;
_filesAll = all;
}
public File getSourceFolder()
{
return _sourceFolder;
}
public File getTargetFolder()
{
return _targetFolder;
}
public SortedSet getDifferent()
{
return _filesDifferent;
}
public SortedSet getSourceOnly()
{
return _filesSourceOnly;
}
public SortedSet getTargetOnly()
{
return _filesTargetOnly;
}
public SortedSet getEqual()
{
return _filesEqual;
}
public SortedSet getAll()
{
return _filesAll;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy