UnArchiver unArchiver = archiverManager.getUnArchiver(srcFile);
unArchiver.setDestDirectory(destDir);
unArchiver.setSourceFile(srcFile);
IncludeExcludeFileSelector includeExcludeFileSelector =
new IncludeExcludeFileSelector();
includeExcludeFileSelector.setExcludes(excludes);
includeExcludeFileSelector.setIncludes(includes);
unArchiver.setFileSelectors(
new FileSelector[] {includeExcludeFileSelector});
unArchiver.extract();