Class NewAttributeBands.Integral

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int[] band  
      private java.lang.String tag  
    • Constructor Summary

      Constructors 
      Constructor Description
      Integral​(java.lang.String tag)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addToAttribute​(int n, NewAttribute attribute)
      Adds the band data for this element at the given index to the attribute.
      java.lang.String getTag()  
      (package private) int getValue​(int index)  
      void readBands​(java.io.InputStream in, int count)
      Read the bands associated with this part of the layout.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • tag

        private final java.lang.String tag
      • band

        private int[] band
    • Constructor Detail

      • Integral

        public Integral​(java.lang.String tag)
    • Method Detail

      • addToAttribute

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

        public java.lang.String getTag()
      • getValue

        int getValue​(int index)
      • 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.