org.apache.commons.compress.harmony.pack200

## Class NewAttributeBands.Callable

- java.lang.Object
- - org.apache.commons.compress.harmony.pack200.NewAttributeBands.Callable

- All Implemented Interfaces:
    NewAttributeBands.AttributeLayoutElement
  Enclosing class:
    NewAttributeBands

      public class NewAttributeBands.Callable
      extends Object
      implements NewAttributeBands.AttributeLayoutElement

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Callable(List body)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addAttributeToBand(NewAttribute attribute, InputStream stream)`
    `void` | `addBackwardsCall()`
    `List` | `getBody()`
    `boolean` | `isBackwardsCallable()`
    `void` | `pack(OutputStream out)`
    `void` | `renumberBci(IntList bciRenumbering, Map labelsToOffsets)`
    `void` | `setBackwardsCallable()` Tells this Callable that it is a backwards callable
    `void` | `setBackwardsCallableIndex(int backwardsCallableIndex)`

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

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

- - ### Constructor Detail

    - #### Callable

          public Callable(List body)
                   throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### setBackwardsCallableIndex

          public void setBackwardsCallableIndex(int backwardsCallableIndex)

    - #### addBackwardsCall

          public void addBackwardsCall()

    - #### isBackwardsCallable

          public boolean isBackwardsCallable()

    - #### setBackwardsCallable

          public void setBackwardsCallable()

      Tells this Callable that it is a backwards callable

    - #### addAttributeToBand

          public void addAttributeToBand(NewAttribute attribute,
                                         InputStream stream)

      Specified by:
        `addAttributeToBand` in interface `NewAttributeBands.AttributeLayoutElement`

    - #### pack

          public void pack(OutputStream out)
                    throws IOException,
                           Pack200Exception

      Specified by:
        `pack` in interface `NewAttributeBands.AttributeLayoutElement`
      Throws:
        `IOException`
        `Pack200Exception`

    - #### renumberBci

          public void renumberBci(IntList bciRenumbering,
                                  Map labelsToOffsets)

      Specified by:
        `renumberBci` in interface `NewAttributeBands.AttributeLayoutElement`

    - #### getBody

          public List getBody()

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