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....constructor of the class as well, but make sure that this stream is readable...want to write the attachment. Make sure the stream is not null...