Package eu.europa.esig.dss.validation
Class ContainerInfo
java.lang.Object
eu.europa.esig.dss.validation.ContainerInfo
public class ContainerInfo extends Object
Contains information about an ASiC container
-
Constructor Summary
Constructors Constructor Description ContainerInfo() -
Method Summary
Modifier and Type Method Description ASiCContainerTypegetContainerType()Gets theASiCContainerTypeList<ManifestFile>getManifestFiles()Gets a list of manifest filesStringgetMimeTypeContent()Gets mimetype file contentList<String>getSignedDocumentFilenames()Returns a list of signed document filenamesStringgetZipComment()Gets the zip commentbooleanisMimeTypeFilePresent()Returns 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()
-
-
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
-