java.io.Closeable
, java.lang.AutoCloseable
, RelationshipSource
ZipPackage
@Deprecated public abstract class Package extends OPCPackage
Package
use OPCPackage
instead.contentTypeManager, defaultPackageAccess, defaultPartMarshaller, isDirty, originalPackagePath, output, packageProperties, partList, partMarshallers, partUnmarshallers, relationships
Modifier | Constructor | Description |
---|---|---|
protected |
Package(PackageAccess access) |
Deprecated.
use
OPCPackage |
Modifier and Type | Method | Description |
---|---|---|
static Package |
create(java.io.File file) |
Deprecated.
|
static Package |
create(java.io.OutputStream output) |
Deprecated.
|
static Package |
create(java.lang.String path) |
Deprecated.
|
static Package |
open(java.io.InputStream in) |
Deprecated.
|
static Package |
open(java.lang.String path) |
Deprecated.
|
static Package |
open(java.lang.String path,
PackageAccess access) |
Deprecated.
|
static Package |
openOrCreate(java.io.File file) |
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExternalRelationship, addExternalRelationship, addMarshaller, addPackagePart, addRelationship, addRelationship, addThumbnail, addUnmarshaller, clearRelationships, close, closeImpl, containPart, createPart, createPart, createPartImpl, deletePart, deletePartRecursive, ensureRelationships, flush, flushImpl, getPackageAccess, getPackageProperties, getPart, getPart, getPartImpl, getParts, getPartsByContentType, getPartsByName, getPartsByRelationshipType, getPartsImpl, getRelationship, getRelationships, getRelationshipsByType, hasRelationships, isRelationshipExists, open, open, removeMarshaller, removePart, removePart, removePartImpl, removePartRecursive, removeRelationship, removeUnmarshaller, replaceContentType, revert, revertImpl, save, save, saveImpl, validatePackage
@Deprecated protected Package(PackageAccess access)
OPCPackage
@Deprecated public static Package open(java.lang.String path) throws InvalidFormatException
InvalidFormatException
@Deprecated public static Package open(java.lang.String path, PackageAccess access) throws InvalidFormatException
InvalidFormatException
@Deprecated public static Package open(java.io.InputStream in) throws InvalidFormatException, java.io.IOException
InvalidFormatException
java.io.IOException
@Deprecated public static Package openOrCreate(java.io.File file) throws InvalidFormatException
InvalidFormatException
@Deprecated public static Package create(java.lang.String path)
@Deprecated public static Package create(java.io.File file)
@Deprecated public static Package create(java.io.OutputStream output)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.