DownloadableFileType getArchiveType ( ) { try { return DownloadableFileType . valueOf ( FilenameUtils . getExtension ( decompressedFilename ) . toUpperCase ( ) ) ; } catch ( IllegalArgumentException e ) { LOG . debug ( "Not a recognised Archive type" ) ; return null ; } }
Find out if the uncompressed file is an archive