Example usage for Java org.apache.poi.openxml4j.opc PackagePart fields, constructors, methods, implement or subclass
The text is from its open source code.
PackageRelationship | addRelationship(PackagePartName targetPartName, TargetMode targetMode, String relationshipType) Add a relationship to a part (except relationships part). |
PackageRelationship | addRelationship(URI targetURI, TargetMode targetMode, String relationshipType) Add a relationship to a part (except relationships part). |
String | getContentType() |
InputStream | getInputStream() Get the input stream of this part to read its content. |
OutputStream | getOutputStream() Get the output stream of this part. |
PackagePartName | getPartName() |
PackagePart | getRelatedPart(PackageRelationship rel) Get the PackagePart that is the target of a relationship. |
PackageRelationshipCollection | getRelationships() Retrieve all the relationships attached to this part. |
PackageRelationshipCollection | getRelationshipsByType(String relationshipType) Retrieve all relationships attached to this part which have the specified type. |
long | getSize() |