Interface ASiCContainerExtractorFactory

All Known Implementing Classes:
ASiCWithCAdESContainerExtractorFactory, ASiCWithXAdESContainerExtractorFactory

public interface ASiCContainerExtractorFactory
This class is used to find and load a corresponding implementation of eu.europa.esig.dss.asic.common.extractor.ASiCContainerExtractor for the given eu.europa.esig.dss.model.DSSDocument ASiC archive
  • Method Summary

    Modifier and Type
    Method
    Description
    create(DSSDocument asicContainer)
    Creates a new ASiCContainerExtractor for the given ZIP-archive container
    boolean
    isSupported(DSSDocument asicContainer)
    Returns whether the format of given ASiC document is supported by the current ASiCContainerExtractor
  • Method Details

    • isSupported

      boolean isSupported(DSSDocument asicContainer)
      Returns whether the format of given ASiC document is supported by the current ASiCContainerExtractor
      Parameters:
      asicContainer - DSSDocument, which content should be extracted
      Returns:
      TRUE if the document is supported by the current implementation, FALSE otherwise
    • create

      ASiCContainerExtractor create(DSSDocument asicContainer)
      Creates a new ASiCContainerExtractor for the given ZIP-archive container
      Parameters:
      asicContainer - DSSDocument, representing a ZIP-containers to be extracted
      Returns:
      ASiCContainerExtractor to be used to extract content of the ASiC container