Class NewAttributeBands.UnionCase

    • Constructor Detail

      • UnionCase

        public UnionCase​(java.util.List<java.lang.Integer> tags)
    • Method Detail

      • addToAttribute

        public void addToAttribute​(int index,
                                   NewAttribute attribute)
        Description copied from interface: NewAttributeBands.AttributeLayoutElement
        Adds the band data for this element at the given index to the attribute.
        Parameters:
        index - Index position to add the attribute.
        attribute - The attribute to add.
      • hasTag

        public boolean hasTag​(int i)
      • hasTag

        public boolean hasTag​(long l)
      • readBands

        public void readBands​(java.io.InputStream in,
                              int count)
                       throws java.io.IOException,
                              Pack200Exception
        Description copied from interface: NewAttributeBands.AttributeLayoutElement
        Read the bands associated with this part of the layout.
        Parameters:
        in - TODO
        count - TODO
        Throws:
        Pack200Exception - Bad archive.
        java.io.IOException - If an I/O error occurs.