@Override public String getUncompressedFileName(String fileName) { return XZUtils.getUncompressedFilename(fileName); }
@Override public String getUncompressedFileName(String fileName) { return XZUtils.getUncompressedFilename(fileName); }
private String uncompressedName(File file) { if(BZip2Utils.isCompressedFilename(file.getAbsolutePath())) { return BZip2Utils.getUncompressedFilename(file.getName()); } else if(GzipUtils.isCompressedFilename(file.getAbsolutePath())) { return GzipUtils.getUncompressedFilename(file.getName()); } else if(XZUtils.isCompressedFilename(file.getAbsolutePath())) { return XZUtils.getUncompressedFilename(file.getName()); } else { return file.getName(); } }
private String uncompressedName(File file) { if(BZip2Utils.isCompressedFilename(file.getAbsolutePath())) { return BZip2Utils.getUncompressedFilename(file.getName()); } else if(GzipUtils.isCompressedFilename(file.getAbsolutePath())) { return GzipUtils.getUncompressedFilename(file.getName()); } else if(XZUtils.isCompressedFilename(file.getAbsolutePath())) { return XZUtils.getUncompressedFilename(file.getName()); } else { return file.getName(); } }