Interface ASiCContainerMergerFactory


public interface ASiCContainerMergerFactory
This class is used to load relevant eu.europa.esig.dss.asic.common.merge.ASiCContainerMerger for given eu.europa.esig.dss.model.DSSDocument containers or eu.europa.esig.dss.asic.common.ASiCContents
  • Method Summary

    Modifier and Type
    Method
    Description
    create(ASiCContent... asicContents)
    Creates a new ASiCContainerMerger for the given ASiCContents
    create(eu.europa.esig.dss.model.DSSDocument... containers)
    Creates a new ASiCContainerMerger for the given ZIP-archive containers
    boolean
    isSupported(ASiCContent... asicContents)
    Returns whether the format of given containers is supported by the current ASiCContainerMerger
    boolean
    isSupported(eu.europa.esig.dss.model.DSSDocument... containers)
    Returns whether the format of given containers is supported by the current ASiCContainerMerger
  • Method Details

    • isSupported

      boolean isSupported(eu.europa.esig.dss.model.DSSDocument... containers)
      Returns whether the format of given containers is supported by the current ASiCContainerMerger
      Parameters:
      containers - DSSDocuments to be merged
      Returns:
      TRUE if both documents are supported by the current container, FALSE otherwise
    • create

      ASiCContainerMerger create(eu.europa.esig.dss.model.DSSDocument... containers)
      Creates a new ASiCContainerMerger for the given ZIP-archive containers
      Parameters:
      containers - DSSDocuments representing ZIP-containers to be merged
      Returns:
      ASiCContainerMerger supporting the containers type for the merge
    • isSupported

      boolean isSupported(ASiCContent... asicContents)
      Returns whether the format of given containers is supported by the current ASiCContainerMerger
      Parameters:
      asicContents - ASiCContents to be merged
      Returns:
      TRUE if both containers are supported by the current container, FALSE otherwise
    • create

      ASiCContainerMerger create(ASiCContent... asicContents)
      Creates a new ASiCContainerMerger for the given ASiCContents
      Parameters:
      asicContents - ASiCContents representing content of ZIP-containers to be merged
      Returns:
      ASiCContainerMerger supporting the containers type for the merge