Class FileArchiveEntry
java.lang.Object
eu.europa.esig.dss.asic.common.FileArchiveEntry
- All Implemented Interfaces:
DSSZipEntryDocument, Serializable
Internal class that is used for performance purposes, accessing ZIP-archive entries on request,
instead of loading all files into memory.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFileArchiveEntry(eu.europa.esig.dss.model.FileDocument zipArchive, ZipEntry zipEntry) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleaneu.europa.esig.dss.model.DigestgetDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) eu.europa.esig.dss.model.DigestgetDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) byte[]getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) byte[]getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) eu.europa.esig.dss.enumerations.MimeTypeeu.europa.esig.dss.enumerations.MimeTypegetName()getName()Returns ZIP entry wrapper containing metadata about a file within a ZIP-containerinthashCode()voidvoidvoidsetMimeType(eu.europa.esig.dss.enumerations.MimeType arg0) voidsetMimeType(eu.europa.esig.dss.enumerations.MimeType arg0) voidtoString()voidwriteTo(OutputStream arg0) voidwriteTo(OutputStream arg0)
-
Field Details
-
digestMap
-
mimeType
protected eu.europa.esig.dss.enumerations.MimeType mimeType -
name
-
-
Constructor Details
-
FileArchiveEntry
Default constructor- Parameters:
zipArchive-FileDocumentrepresenting a ZIP-containerzipEntry-DSSZipEntrycontaining metadata for zip container entry to be extracted
-
-
Method Details
-
openStream
-
setName
-
getZipEntry
Description copied from interface:DSSZipEntryDocumentReturns ZIP entry wrapper containing metadata about a file within a ZIP-container- Specified by:
getZipEntryin interfaceDSSZipEntryDocument- Returns:
DSSZipEntry
-
equals
-
hashCode
public int hashCode() -
writeTo
- Throws:
IOException
-
getName
String getName() -
getMimeType
eu.europa.esig.dss.enumerations.MimeType getMimeType() -
setMimeType
void setMimeType(eu.europa.esig.dss.enumerations.MimeType arg0) -
save
- Throws:
IOException
-
getDigest
eu.europa.esig.dss.model.Digest getDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) -
getDigestValue
byte[] getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) -
save
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
getMimeType
public eu.europa.esig.dss.enumerations.MimeType getMimeType() -
setMimeType
public void setMimeType(eu.europa.esig.dss.enumerations.MimeType arg0) -
getName
-
getDigest
public eu.europa.esig.dss.model.Digest getDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) -
getDigestValue
public byte[] getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) -
toString
-