Class ZipPartStore.ByteArray
java.lang.Object
org.docx4j.openpackaging.io3.stores.ZipPartStore.ByteArray
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ZipPartStore
public static class ZipPartStore.ByteArray
extends java.lang.Object
implements java.io.Serializable
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description byte[]getBytes()java.io.InputStreamgetInputStream()intgetLength()java.lang.StringgetMimetype()voidsetBytes(byte[] bytes)Replace the contents.
-
Constructor Details
-
Method Details
-
getBytes
public byte[] getBytes() -
setBytes
public void setBytes(byte[] bytes)Replace the contents. Not intended for direct use by user code.- Parameters:
bytes-- Since:
- 3.3.2
-
getMimetype
public java.lang.String getMimetype() -
getInputStream
public java.io.InputStream getInputStream() -
getLength
public int getLength()
-