java.lang.Object
kala.compress.harmony.pack200.BandSet
kala.compress.harmony.pack200.FileBands

public class FileBands extends BandSet
Bands containing information about files in the pack200 archive and the file contents for non-class-files. Corresponds to the file_bands set of bands described in the specification.
  • Field Details

    • fileName

      private final CPUTF8[] fileName
    • file_name

      private int[] file_name
    • file_modtime

      private final int[] file_modtime
    • file_size

      private final long[] file_size
    • file_options

      private final int[] file_options
    • file_bits

      private final byte[][] file_bits
    • fileList

      private final List<Archive.PackingFile> fileList
    • options

      private final PackingOptions options
    • cpBands

      private final CpBands cpBands
  • Constructor Details

  • Method Details

    • finaliseBands

      public void finaliseBands()
      All input classes for the segment have now been read in, so this method is called so that this class can calculate/complete anything it could not do while classes were being read.
    • flatten

      private int[] flatten(byte[][] bytes)
    • pack

      public void pack(OutputStream out) throws IOException, Pack200Exception
      Description copied from class: BandSet
      Write the packed set of bands to the given output stream
      Specified by:
      pack in class BandSet
      Parameters:
      out - TODO
      Throws:
      IOException - If an I/O error occurs.
      Pack200Exception - TODO