Java org.apache.poi.openxml4j.opc PackagePart fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.openxml4j.opc PackagePart fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.openxml4j.opc PackagePart.

The text is from its open source code.

Method

PackageRelationshipaddRelationship(PackagePartName targetPartName, TargetMode targetMode, String relationshipType)
Add a relationship to a part (except relationships part).
PackageRelationshipaddRelationship(URI targetURI, TargetMode targetMode, String relationshipType)
Add a relationship to a part (except relationships part).
StringgetContentType()
InputStreamgetInputStream()
Get the input stream of this part to read its content.
OutputStreamgetOutputStream()
Get the output stream of this part.
PackagePartNamegetPartName()
PackagePartgetRelatedPart(PackageRelationship rel)
Get the PackagePart that is the target of a relationship.
PackageRelationshipCollectiongetRelationships()
Retrieve all the relationships attached to this part.
PackageRelationshipCollectiongetRelationshipsByType(String relationshipType)
Retrieve all relationships attached to this part which have the specified type.
longgetSize()