Class ContainerEntryDocument

java.lang.Object
eu.europa.esig.dss.model.CommonDocument
eu.europa.esig.dss.asic.common.ContainerEntryDocument
All Implemented Interfaces:
DSSZipEntryDocument, DSSDocument, Serializable

public class ContainerEntryDocument extends CommonDocument implements DSSZipEntryDocument
Represents an entry within a ZIP archive, containing its metadata and file's content. This class can be used to create a file entry to be incorporated within an ASiC container with customized ZipEntry metadata (e.g. creation time, compression method, etc.).
See Also:
  • Constructor Details

    • ContainerEntryDocument

      public ContainerEntryDocument(DSSDocument content)
      Default constructor
      Parameters:
      content - DSSDocument representing file's content
    • ContainerEntryDocument

      public ContainerEntryDocument(DSSDocument content, DSSZipEntry zipEntry)
      Constructor with provided DSSZipEntry
      Parameters:
      content - DSSDocument representing file's content
      zipEntry - DSSZipEntry containing metadata about the ZIP entry
  • Method Details