Class ZipPartStore.ByteArray

java.lang.Object
org.docx4j.openpackaging.io3.stores.ZipPartStore.ByteArray
All Implemented Interfaces:
Serializable
Enclosing class:
ZipPartStore

public static class ZipPartStore.ByteArray extends Object implements Serializable
See Also:
  • Constructor Details

    • ByteArray

      public ByteArray(byte[] bytes)
    • ByteArray

      public ByteArray(ByteBuffer bb, String mimetype)
  • 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 String getMimetype()
    • getInputStream

      public InputStream getInputStream()
    • getLength

      public int getLength()