org.apache.poi.openxml4j.opc.internal.signature
Class DigitalCertificatePart
- java.lang.Object
-
- org.apache.poi.openxml4j.opc.PackagePart
-
- org.apache.poi.openxml4j.opc.internal.signature.DigitalCertificatePart
-
- All Implemented Interfaces:
- java.lang.Comparable<PackagePart>, RelationshipSource
public final class DigitalCertificatePart extends PackagePart
Digital certificate part.
-
-
Constructor Summary
Constructors Constructor and Description DigitalCertificatePart()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclose()Close this part : flush this part, close the input stream and output stream.voidflush()Flush the content of this part.booleanload(java.io.InputStream ios)Load the content of this part.booleansave(java.io.OutputStream zos)Save the content of this part and the associated relationships part (if this part own at least one relationship) into the specified output stream.-
Methods inherited from class org.apache.poi.openxml4j.opc.PackagePart
addExternalRelationship, addExternalRelationship, addRelationship, addRelationship, addRelationship, addRelationship, clear, clearRelationships, compareTo, getContentType, getContentTypeDetails, getInputStream, getOutputStream, getPackage, getPartName, getRelatedPart, getRelationship, getRelationships, getRelationshipsByType, getSize, hasRelationships, isDeleted, isRelationshipExists, isRelationshipPart, removeRelationship, setContentType, setDeleted, toString
-
-
-
-
Constructor Detail
-
DigitalCertificatePart
public DigitalCertificatePart() throws InvalidFormatException- Throws:
InvalidFormatException
-
-
Method Detail
-
close
public void close()
Description copied from class:PackagePartClose this part : flush this part, close the input stream and output stream. After this method call, the part must be available for packaging.- Specified by:
closein classPackagePart
-
flush
public void flush()
Description copied from class:PackagePartFlush the content of this part. If the input stream and/or output stream as in a waiting state to read or write, the must to empty their respective buffer.- Specified by:
flushin classPackagePart
-
load
public boolean load(java.io.InputStream ios) throws InvalidFormatExceptionDescription copied from class:PackagePartLoad the content of this part.- Specified by:
loadin classPackagePart- Parameters:
ios- The input stream of the content to load.- Returns:
- true if the content has been successfully loaded, else false.
- Throws:
InvalidFormatException- Throws if the content format is invalid.
-
save
public boolean save(java.io.OutputStream zos) throws OpenXML4JExceptionDescription copied from class:PackagePartSave the content of this part and the associated relationships part (if this part own at least one relationship) into the specified output stream.- Specified by:
savein classPackagePart- Parameters:
zos- Output stream to save this part.- Throws:
OpenXML4JException- If any exception occur.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG