This topic describes how to use the GroupDocs.Viewer Java API to display a list of archive content in HTML, PDF, PNG, and JPEG formats and to extract arbitrary file from archive.... printf ( "Encrypted: %s%n" , fileInfo . isEncrypted...); } } } } Expected output Encrypted : no Archive format : 7Zip...