@Deprecated public class LoadFromZipNG extends Load
| Modifier and Type | Class and Description |
|---|---|
static class |
LoadFromZipNG.ByteArray
Deprecated.
|
customXmlDataStorageClass, loadExternalTargets| Constructor and Description |
|---|
LoadFromZipNG()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
OpcPackage |
get(java.io.File f)
Deprecated.
|
OpcPackage |
get(java.io.InputStream is)
Deprecated.
|
OpcPackage |
get(java.lang.String filepath)
Deprecated.
|
static Part |
getBinaryPart(java.util.HashMap<java.lang.String,LoadFromZipNG.ByteArray> partByteArrays,
ContentTypeManager ctm,
java.lang.String resolvedPartUri)
Deprecated.
|
static byte[] |
getBytesFromInputStream(java.io.InputStream is,
long size)
Deprecated.
|
static Part |
getRawPart(java.util.HashMap<java.lang.String,LoadFromZipNG.ByteArray> partByteArrays,
ContentTypeManager ctm,
java.lang.String resolvedPartUri,
Relationship rel)
Deprecated.
Get a Part (except a relationships part), but not its relationships part
or related parts.
|
RelationshipsPart |
getRelationshipsPart(java.util.HashMap<java.lang.String,LoadFromZipNG.ByteArray> partByteArrays,
Part part)
Deprecated.
Get the Relationships Part (if there is one) for a given Part.
|
static void |
main(java.lang.String[] args)
Deprecated.
|
getCustomXmlDataStorageClass, getRawPart, loadExternalTargets, registerCustomXmlDataStorageParts, setCustomXmlDataStorageClasspublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic OpcPackage get(java.lang.String filepath) throws Docx4JException
Docx4JExceptionpublic static byte[] getBytesFromInputStream(java.io.InputStream is,
long size)
throws java.lang.Exception
java.lang.Exceptionpublic OpcPackage get(java.io.File f) throws Docx4JException
Docx4JExceptionpublic OpcPackage get(java.io.InputStream is) throws Docx4JException
Docx4JExceptionpublic RelationshipsPart getRelationshipsPart(java.util.HashMap<java.lang.String,LoadFromZipNG.ByteArray> partByteArrays, Part part) throws Docx4JException, InvalidFormatException
zf - part - InvalidFormatExceptionDocx4JExceptionpublic static Part getRawPart(java.util.HashMap<java.lang.String,LoadFromZipNG.ByteArray> partByteArrays, ContentTypeManager ctm, java.lang.String resolvedPartUri, Relationship rel) throws Docx4JException
partByteArrays - ctm - resolvedPartUri - rel - Docx4JException - including if result is nullget a Part and all its related parts, and add all to a package, use
getPart.public static Part getBinaryPart(java.util.HashMap<java.lang.String,LoadFromZipNG.ByteArray> partByteArrays, ContentTypeManager ctm, java.lang.String resolvedPartUri) throws Docx4JException
Docx4JExceptionCopyright © 2007–2023. All rights reserved.