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 TypeMethodDescriptioncreate(DSSDocument asicContainer) Creates a newASiCContainerExtractorfor the given ZIP-archive containerbooleanisSupported(DSSDocument asicContainer) Returns whether the format of given ASiC document is supported by the currentASiCContainerExtractor
-
Method Details
-
isSupported
Returns whether the format of given ASiC document is supported by the currentASiCContainerExtractor- Parameters:
asicContainer-DSSDocument, which content should be extracted- Returns:
- TRUE if the document is supported by the current implementation, FALSE otherwise
-
create
Creates a newASiCContainerExtractorfor the given ZIP-archive container- Parameters:
asicContainer-DSSDocument, representing a ZIP-containers to be extracted- Returns:
ASiCContainerExtractorto be used to extract content of the ASiC container
-