org.apache.commons.compress.harmony.unpack200

## Class NewAttributeBands.Replication

- java.lang.Object
- - org.apache.commons.compress.harmony.unpack200.NewAttributeBands.Replication

- Enclosing class:
    NewAttributeBands

      public class NewAttributeBands.Replication
      extends Object

  A replication is an array of layout elements, with an associated count

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Replication(String tag, String contents)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addToAttribute(int index, NewAttribute attribute)`
    `NewAttributeBands.Integral` | `getCountElement()`
    `List` | `getLayoutElements()`
    `void` | `readBands(InputStream in, int count)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Replication

          public Replication(String tag,
                             String contents)
                      throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### readBands

          public void readBands(InputStream in,
                                int count)
                         throws IOException,
                                Pack200Exception

      Throws:
        `IOException`
        `Pack200Exception`

    - #### addToAttribute

          public void addToAttribute(int index,
                                     NewAttribute attribute)

    - #### getCountElement

          public NewAttributeBands.Integral getCountElement()

    - #### getLayoutElements

          public List getLayoutElements()

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.