@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(File f)
Deprecated.
|
OpcPackage |
get(InputStream is)
Deprecated.
|
OpcPackage |
get(String filepath)
Deprecated.
|
static Part |
getBinaryPart(HashMap<String,LoadFromZipNG.ByteArray> partByteArrays,
ContentTypeManager ctm,
String resolvedPartUri)
Deprecated.
|
static byte[] |
getBytesFromInputStream(InputStream is,
long size)
Deprecated.
|
static Part |
getRawPart(HashMap<String,LoadFromZipNG.ByteArray> partByteArrays,
ContentTypeManager ctm,
String resolvedPartUri,
Relationship rel)
Deprecated.
Get a Part (except a relationships part), but not its relationships part
or related parts.
|
RelationshipsPart |
getRelationshipsPart(HashMap<String,LoadFromZipNG.ByteArray> partByteArrays,
Part part)
Deprecated.
Get the Relationships Part (if there is one) for a given Part.
|
static void |
main(String[] args)
Deprecated.
|
getCustomXmlDataStorageClass, getRawPart, loadExternalTargets, registerCustomXmlDataStorageParts, setCustomXmlDataStorageClasspublic OpcPackage get(String filepath) throws Docx4JException
Docx4JExceptionpublic static byte[] getBytesFromInputStream(InputStream is, long size) throws Exception
Exceptionpublic OpcPackage get(File f) throws Docx4JException
Docx4JExceptionpublic OpcPackage get(InputStream is) throws Docx4JException
Docx4JExceptionpublic RelationshipsPart getRelationshipsPart(HashMap<String,LoadFromZipNG.ByteArray> partByteArrays, Part part) throws Docx4JException, InvalidFormatException
zf - part - InvalidFormatExceptionDocx4JExceptionpublic static Part getRawPart(HashMap<String,LoadFromZipNG.ByteArray> partByteArrays, ContentTypeManager ctm, 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(HashMap<String,LoadFromZipNG.ByteArray> partByteArrays, ContentTypeManager ctm, String resolvedPartUri) throws Docx4JException
Docx4JExceptionCopyright © 2007-2022. All Rights Reserved.