|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.openxml4j.opc.PackagePart org.apache.poi.openxml4j.opc.internal.signature.DigitalCertificatePart
public final class DigitalCertificatePart
Digital certificate part.
Field Summary |
---|
Fields inherited from class org.apache.poi.openxml4j.opc.PackagePart |
---|
_container, _contentType, _partName |
Constructor Summary | |
---|---|
DigitalCertificatePart()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.poi.openxml4j.opc.PackagePart |
---|
addExternalRelationship, addExternalRelationship, addRelationship, addRelationship, addRelationship, addRelationship, clearRelationships, getContentType, getInputStream, getOutputStream, getPackage, getPartName, getRelatedPart, getRelationship, getRelationships, getRelationshipsByType, hasRelationships, isDeleted, isRelationshipExists, isRelationshipPart, removeRelationship, setContentType, setDeleted, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DigitalCertificatePart() throws InvalidFormatException
InvalidFormatException
Method Detail |
---|
public void close()
PackagePart
close
in class PackagePart
public void flush()
PackagePart
flush
in class PackagePart
protected java.io.InputStream getInputStreamImpl() throws java.io.IOException
PackagePart
getInputStreamImpl
in class PackagePart
java.io.IOException
- Throws if an IO Exception occur in the implementation
method.protected java.io.OutputStream getOutputStreamImpl()
PackagePart
getOutputStreamImpl
in class PackagePart
public boolean load(java.io.InputStream ios) throws InvalidFormatException
PackagePart
load
in class PackagePart
ios
- 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
PackagePart
save
in class PackagePart
zos
- Output stream to save this part.
OpenXML4JException
- If any exception occur.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |