Package 

Interface UnparseableExtraFieldBehavior


  • 
    public interface UnparseableExtraFieldBehavior
    
                        

    Handles extra field data that doesn't follow the recommended pattern for extra fields with a two-byte key and a two-byte length.

    • Method Summary

      Modifier and Type Method Description
      abstract ZipExtraField onUnparseableExtraField(Array<byte> data, int off, int len, boolean local, int claimedLength) Decides what to do with extra field data that doesn't follow the recommended pattern.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onUnparseableExtraField

         abstract ZipExtraField onUnparseableExtraField(Array<byte> data, int off, int len, boolean local, int claimedLength)

        Decides what to do with extra field data that doesn't follow the recommended pattern.

        Parameters:
        data - the array of extra field data
        off - offset into data where the unparseable data starts
        len - the length of unparseable data
        local - whether the extra field data stems from the localfile header.
        claimedLength - length of the extra field claimed by thethird and forth byte if it did follow the recommended pattern