public final class DigitalCertificatePart extends PackagePart
_container, _contentType, _partName| Constructor and Description |
|---|
DigitalCertificatePart() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this part : flush this part, close the input stream and output
stream.
|
void |
flush()
Flush the content of this part.
|
protected java.io.InputStream |
getInputStreamImpl()
Abtract method that get the input stream of this part.
|
protected java.io.OutputStream |
getOutputStreamImpl()
Abstract method that get the output stream of this part.
|
boolean |
load(java.io.InputStream ios)
Load the content of this part.
|
boolean |
save(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.
|
addExternalRelationship, addExternalRelationship, addRelationship, addRelationship, addRelationship, addRelationship, clear, clearRelationships, getContentType, getInputStream, getOutputStream, getPackage, getPartName, getRelatedPart, getRelationship, getRelationships, getRelationshipsByType, getSize, hasRelationships, isDeleted, isRelationshipExists, isRelationshipPart, removeRelationship, setContentType, setDeleted, toStringpublic DigitalCertificatePart()
throws InvalidFormatException
InvalidFormatExceptionpublic void close()
PackagePartclose in class PackagePartpublic void flush()
PackagePartflush in class PackagePartprotected java.io.InputStream getInputStreamImpl()
throws java.io.IOException
PackagePartgetInputStreamImpl in class PackagePartjava.io.IOException - Throws if an IO Exception occur in the implementation
method.protected java.io.OutputStream getOutputStreamImpl()
PackagePartgetOutputStreamImpl in class PackagePartpublic boolean load(java.io.InputStream ios)
throws InvalidFormatException
PackagePartload in class PackagePartios - The input stream of the content to load.InvalidFormatException - Throws if the content format is invalid.public boolean save(java.io.OutputStream zos)
throws OpenXML4JException
PackagePartsave in class PackagePartzos - Output stream to save this part.OpenXML4JException - If any exception occur.Copyright 2014 The Apache Software Foundation or its licensors, as applicable.