java.lang.Object
com.pnfsoftware.jeb.util.encoding.zip.fsr.ZipData

public class ZipData extends Object
Representation of an unzipped entry. The entry may have been unsuccessfully unzipped, in which case, the exception raised during unzipping can be retrieved.
  • Field Details

    • EMPTY

      public static final ZipData EMPTY
      Empty successful entry data.
  • Method Details

    • getUncompressedData

      public byte[] getUncompressedData()
      Get the decompressed data bytes.
      Returns:
      decompressed data, possibly partial if getException() is non-null
    • getException

      public Exception getException()
      Get the exception raised while decompressing or validating the entry.
      Returns:
      exception, or null if the entry was read successfully