java.lang.Object
eu.europa.esig.dss.model.CommonDocument
eu.europa.esig.dss.asic.common.FileArchiveEntry
- All Implemented Interfaces:
DSSZipEntryDocument,eu.europa.esig.dss.model.DSSDocument,Serializable
public class FileArchiveEntry
extends eu.europa.esig.dss.model.CommonDocument
implements DSSZipEntryDocument
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 inherited from class eu.europa.esig.dss.model.CommonDocument
digestMap, mimeType, name -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFileArchiveEntry(eu.europa.esig.dss.model.FileDocument zipArchive, ZipEntry zipEntry) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns ZIP entry wrapper containing metadata about a file within a ZIP-containerinthashCode()voidMethods inherited from class eu.europa.esig.dss.model.CommonDocument
getDigest, getDigestValue, getMimeType, getName, save, setMimeType, toString, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface eu.europa.esig.dss.model.DSSDocument
getDigest, getDigestValue, getMimeType, getName, save, setMimeType, writeTo
-
Constructor Details
-
FileArchiveEntry
Default constructor- Parameters:
zipArchive-FileDocumentrepresenting a ZIP-containerzipEntry-DSSZipEntrycontaining metadata for zip container entry to be extracted
-
-
Method Details
-
openStream
- Specified by:
openStreamin interfaceeu.europa.esig.dss.model.DSSDocument
-
setName
- Specified by:
setNamein interfaceeu.europa.esig.dss.model.DSSDocument- Overrides:
setNamein classeu.europa.esig.dss.model.CommonDocument
-
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
- Overrides:
equalsin classeu.europa.esig.dss.model.CommonDocument
-
hashCode
public int hashCode()- Overrides:
hashCodein classeu.europa.esig.dss.model.CommonDocument
-