|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of PackagePartName in org.apache.poi.openxml4j.opc |
---|
Fields in org.apache.poi.openxml4j.opc declared as PackagePartName | |
---|---|
protected PackagePartName |
PackagePart._partName
The part name. |
static PackagePartName |
PackagingURIHelper.CORE_PROPERTIES_PART_NAME
Core properties partname. |
static PackagePartName |
PackagingURIHelper.PACKAGE_RELATIONSHIPS_ROOT_PART_NAME
Package relationships part name. |
static PackagePartName |
PackagingURIHelper.PACKAGE_ROOT_PART_NAME
Root package part name. |
Methods in org.apache.poi.openxml4j.opc that return PackagePartName | |
---|---|
static PackagePartName |
PackagingURIHelper.createPartName(java.lang.String partName)
Create an OPC compliant part name. |
static PackagePartName |
PackagingURIHelper.createPartName(java.lang.String partName,
PackagePart relativePart)
Create an OPC compliant part name by resolving it using a base part. |
static PackagePartName |
PackagingURIHelper.createPartName(java.net.URI partUri)
Create an OPC compliant part name by throwing an exception if the URI is not valid. |
static PackagePartName |
PackagingURIHelper.createPartName(java.net.URI partName,
PackagePart relativePart)
Create an OPC compliant part name by resolving it using a base part. |
PackagePartName |
PackagePart.getPartName()
|
static PackagePartName |
PackagingURIHelper.getRelationshipPartName(PackagePartName partName)
Build a part name where the relationship should be stored ((ex /word/document.xml -> /word/_rels/document.xml.rels) |
Methods in org.apache.poi.openxml4j.opc with parameters of type PackagePartName | |
---|---|
PackageRelationship |
RelationshipSource.addRelationship(PackagePartName targetPartName,
TargetMode targetMode,
java.lang.String relationshipType)
Add a relationship to a part (except relationships part). |
PackageRelationship |
PackagePart.addRelationship(PackagePartName targetPartName,
TargetMode targetMode,
java.lang.String relationshipType)
Add a relationship to a part (except relationships part). |
PackageRelationship |
OPCPackage.addRelationship(PackagePartName targetPartName,
TargetMode targetMode,
java.lang.String relationshipType)
Add a package relationship. |
PackageRelationship |
RelationshipSource.addRelationship(PackagePartName targetPartName,
TargetMode targetMode,
java.lang.String relationshipType,
java.lang.String id)
Add a relationship to a part (except relationships part). |
PackageRelationship |
PackagePart.addRelationship(PackagePartName targetPartName,
TargetMode targetMode,
java.lang.String relationshipType,
java.lang.String id)
Add a relationship to a part (except relationships part). |
PackageRelationship |
OPCPackage.addRelationship(PackagePartName targetPartName,
TargetMode targetMode,
java.lang.String relationshipType,
java.lang.String relID)
Add a relationship to the package (except relationships part). |
int |
PackagePartName.compareTo(PackagePartName otherPartName)
Compare two part name following the rule M1.12 : Part name equivalence is determined by comparing part names as case-insensitive ASCII strings. |
boolean |
OPCPackage.containPart(PackagePartName partName)
Check if a part already exists in this package from its name. |
PackagePart |
OPCPackage.createPart(PackagePartName partName,
java.lang.String contentType)
Create and add a part, with the specified name and content type, to the package. |
PackagePart |
OPCPackage.createPart(PackagePartName partName,
java.lang.String contentType,
java.io.ByteArrayOutputStream content)
Add a part to the package. |
protected PackagePart |
ZipPackage.createPartImpl(PackagePartName partName,
java.lang.String contentType,
boolean loadRelationships)
Create a new MemoryPackagePart from the specified URI and content type aram partName The part URI. |
protected abstract PackagePart |
OPCPackage.createPartImpl(PackagePartName partName,
java.lang.String contentType,
boolean loadRelationships)
Core method to create a package part. |
void |
OPCPackage.deletePart(PackagePartName partName)
Delete the part with the specified name and its associated relationships part if one exists. |
void |
OPCPackage.deletePartRecursive(PackagePartName partName)
Delete the part with the specified name and all part listed in its associated relationships part if one exists. |
PackagePart |
OPCPackage.getPart(PackagePartName partName)
Retrieve a part identified by its name. |
protected PackagePart |
ZipPackage.getPartImpl(PackagePartName partName)
Implement the getPart() method to retrieve a part from its URI in the current package |
protected abstract PackagePart |
OPCPackage.getPartImpl(PackagePartName partName)
Get the package part mapped to the specified URI. |
static PackagePartName |
PackagingURIHelper.getRelationshipPartName(PackagePartName partName)
Build a part name where the relationship should be stored ((ex /word/document.xml -> /word/_rels/document.xml.rels) |
PackagePart |
PackagePartCollection.put(PackagePartName partName,
PackagePart part)
Check rule [M1.11]: a package implementer shall neither create nor recognize a part with a part name derived from another part name by appending segments to it. |
void |
OPCPackage.removePart(PackagePartName partName)
Remove a part in this package. |
protected void |
ZipPackage.removePartImpl(PackagePartName partName)
Delete a part from the package |
protected abstract void |
OPCPackage.removePartImpl(PackagePartName partName)
Core method to delete a package part. |
void |
OPCPackage.removePartRecursive(PackagePartName partName)
Remove a part from this package as well as its relationship part, if one exists, and all parts listed in the relationship part. |
Constructors in org.apache.poi.openxml4j.opc with parameters of type PackagePartName | |
---|---|
PackagePart(OPCPackage pack,
PackagePartName partName,
ContentType contentType)
Constructor. |
|
PackagePart(OPCPackage pack,
PackagePartName partName,
ContentType contentType,
boolean loadRelationships)
Constructor. |
|
PackagePart(OPCPackage pack,
PackagePartName partName,
java.lang.String contentType)
Constructor. |
|
ZipPackagePart(OPCPackage container,
PackagePartName partName,
java.lang.String contentType)
Constructor. |
|
ZipPackagePart(OPCPackage container,
java.util.zip.ZipEntry zipEntry,
PackagePartName partName,
java.lang.String contentType)
Constructor. |
Uses of PackagePartName in org.apache.poi.openxml4j.opc.internal |
---|
Methods in org.apache.poi.openxml4j.opc.internal with parameters of type PackagePartName | |
---|---|
void |
ContentTypeManager.addContentType(PackagePartName partName,
java.lang.String contentType)
Build association extention-> content type (will be stored in [Content_Types].xml) for example ContentType="image/png" Extension="png" |
java.lang.String |
ContentTypeManager.getContentType(PackagePartName partName)
Get the content type for the specified part, if any. |
void |
ContentTypeManager.removeContentType(PackagePartName partName)
Delete a content type based on the specified part name. |
Constructors in org.apache.poi.openxml4j.opc.internal with parameters of type PackagePartName | |
---|---|
MemoryPackagePart(OPCPackage pack,
PackagePartName partName,
java.lang.String contentType)
Constructor. |
|
MemoryPackagePart(OPCPackage pack,
PackagePartName partName,
java.lang.String contentType,
boolean loadRelationships)
Constructor. |
|
PackagePropertiesPart(OPCPackage pack,
PackagePartName partName)
Constructor. |
Uses of PackagePartName in org.apache.poi.openxml4j.opc.internal.marshallers |
---|
Methods in org.apache.poi.openxml4j.opc.internal.marshallers with parameters of type PackagePartName | |
---|---|
static boolean |
ZipPartMarshaller.marshallRelationshipPart(PackageRelationshipCollection rels,
PackagePartName relPartName,
java.util.zip.ZipOutputStream zos)
Save relationships into the part. |
Uses of PackagePartName in org.apache.poi.openxml4j.opc.internal.unmarshallers |
---|
Methods in org.apache.poi.openxml4j.opc.internal.unmarshallers with parameters of type PackagePartName | |
---|---|
void |
UnmarshallContext.setPartName(PackagePartName partName)
|
Constructors in org.apache.poi.openxml4j.opc.internal.unmarshallers with parameters of type PackagePartName | |
---|---|
UnmarshallContext(OPCPackage targetPackage,
PackagePartName partName)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |