}
if (TAR.equalsIgnoreCase(archiverName)) {
return new TarArchiveOutputStream(out);
}
if (JAR.equalsIgnoreCase(archiverName)) {
return new JarArchiveOutputStream(out);
}
if (CPIO.equalsIgnoreCase(archiverName)) {
return new CpioArchiveOutputStream(out);
}
throw new ArchiveException("Archiver: " + archiverName + " not found.");