Class NewAttributeBands

    • Method Detail

      • parseAttributes

        public java.util.List parseAttributes​(java.io.InputStream in,
                                              int occurrenceCount)
                                       throws java.io.IOException,
                                              Pack200Exception
        Parse the bands relating to this AttributeLayout and return the correct class file attributes as a List of Attribute.
        Parameters:
        in - parse source.
        occurrenceCount - TODO
        Returns:
        Class file attributes as a List of Attribute.
        Throws:
        java.io.IOException - If an I/O error occurs.
        Pack200Exception - TODO
      • getCodec

        public BHSDCodec getCodec​(java.lang.String layoutElement)
        Returns the BHSDCodec that should be used for the given layout element.
        Parameters:
        layoutElement - TODO
        Returns:
        the BHSDCodec that should be used for the given layout element.
      • setBackwardsCalls

        public void setBackwardsCalls​(int[] backwardsCalls)
                               throws java.io.IOException
        Once the attribute bands have been read the callables can be informed about the number of times each is subject to a backwards call. This method is used to set this information.
        Parameters:
        backwardsCalls - one int for each backwards callable, which contains the number of times that callable is subject to a backwards call.
        Throws:
        java.io.IOException - If an I/O error occurs.