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 ASiCContainerType
getContainerType()
Gets theASiCContainerType
List<ManifestFile>
getManifestFiles()
Gets a list of manifest filesString
getMimeTypeContent()
Gets mimetype file contentList<String>
getSignedDocumentFilenames()
Returns a list of signed document filenamesString
getZipComment()
Gets the zip commentboolean
isMimeTypeFilePresent()
Returns if the mimetype file presentvoid
setContainerType(ASiCContainerType containerType)
Sets theASiCContainerType
void
setManifestFiles(List<ManifestFile> manifestFiles)
Sets a list of manifest filesvoid
setMimeTypeContent(String mimeTypeContent)
Sets mimetype file contentvoid
setSignedDocumentFilenames(List<String> signedDocumentFilenames)
Sets signed document filenamesvoid
setZipComment(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
String
s
-
setSignedDocumentFilenames
Sets signed document filenames- Parameters:
signedDocumentFilenames
- a list ofString
s
-
getManifestFiles
Gets a list of manifest files- Returns:
- a list of
ManifestFile
s
-
setManifestFiles
Sets a list of manifest files- Parameters:
manifestFiles
- a list of manifest files
-