Class AbstractUnicodeExtraField

java.lang.Object
org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
All Implemented Interfaces:
ZipExtraField
Direct Known Subclasses:
UnicodeCommentExtraField, UnicodePathExtraField

public abstract class AbstractUnicodeExtraField extends Object implements ZipExtraField
A common base class for Unicode extra information extra fields.
This class is not thread-safe
  • Constructor Details

    • AbstractUnicodeExtraField

    • AbstractUnicodeExtraField

      protected AbstractUnicodeExtraField(String text, byte[] bytes)
      Assemble as unicode extension from the name/comment and encoding of the original ZIP entry.
      Parameters:
      text - The file name or comment.
      bytes - The encoded of the file name or comment in the ZIP file.
    • AbstractUnicodeExtraField

      protected AbstractUnicodeExtraField(String text, byte[] bytes, int off, int len)
      Assemble as unicode extension from the name/comment and encoding of the original ZIP entry.
      Parameters:
      text - The file name or comment.
      bytes - The encoded of the file name or comment in the ZIP file.
      off - The offset of the encoded file name or comment in bytes.
      len - The length of the encoded file name or comment in bytes.
  • Method Details