Class 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 Detail

      • 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
      • cpBands

        private final CpBands cpBands
    • Method Detail

      • 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​(java.io.OutputStream out)
                  throws java.io.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:
        java.io.IOException - If an I/O error occurs.
        Pack200Exception - TODO