Package eu.europa.esig.dss.validation
Class ContainerInfo
java.lang.Object
eu.europa.esig.dss.validation.ContainerInfo
Contains information about an ASiC container
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theASiCContainerTypeGets a list of manifest filesGets mimetype file contentReturns a list of signed document filenamesGets the zip commentbooleanReturns if the mimetype file presentvoidsetContainerType(ASiCContainerType containerType) Sets theASiCContainerTypevoidsetManifestFiles(List<ManifestFile> manifestFiles) Sets a list of manifest filesvoidsetMimeTypeContent(String mimeTypeContent) Sets mimetype file contentvoidsetSignedDocumentFilenames(List<String> signedDocumentFilenames) Sets signed document filenamesvoidsetZipComment(String zipComment) Sets the zip comment
-
Constructor Details
-
ContainerInfo
public ContainerInfo()Default constructor instantiating object with null values
-
-
Method Details
-
getContainerType
Gets theASiCContainerType- Returns:
ASiCContainerType
-
setContainerType
Sets theASiCContainerType- Parameters:
containerType-ASiCContainerType
-
getZipComment
Gets the zip comment- Returns:
String
-
setZipComment
Sets the zip comment- Parameters:
zipComment-String
-
getMimeTypeContent
Gets mimetype file content- Returns:
String
-
setMimeTypeContent
Sets mimetype file content- Parameters:
mimeTypeContent-String
-
isMimeTypeFilePresent
public boolean isMimeTypeFilePresent()Returns if the mimetype file present- Returns:
- TRUE if the mimetype present, FALSE otherwise
-
getSignedDocumentFilenames
Returns a list of signed document filenames- Returns:
- a list of
Strings
-
setSignedDocumentFilenames
Sets signed document filenames- Parameters:
signedDocumentFilenames- a list ofStrings
-
getManifestFiles
Gets a list of manifest files- Returns:
- a list of
ManifestFiles
-
setManifestFiles
Sets a list of manifest files- Parameters:
manifestFiles- a list of manifest files
-