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 java.lang.Object implements NewAttributeBands.AttributeLayoutElement
-
-
Constructor Summary
Constructors Constructor Description Callable(java.util.List body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttributeToBand(NewAttribute attribute, java.io.InputStream stream)voidaddBackwardsCall()java.util.ListgetBody()booleanisBackwardsCallable()voidpack(java.io.OutputStream out)voidrenumberBci(IntList bciRenumbering, java.util.Map labelsToOffsets)voidsetBackwardsCallable()Tells this Callable that it is a backwards callablevoidsetBackwardsCallableIndex(int backwardsCallableIndex)
-
-
-
Constructor Detail
-
Callable
public Callable(java.util.List body) throws java.io.IOException
- Throws:
java.io.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, java.io.InputStream stream)
- Specified by:
addAttributeToBandin interfaceNewAttributeBands.AttributeLayoutElement
-
pack
public void pack(java.io.OutputStream out) throws java.io.IOException, Pack200Exception
- Specified by:
packin interfaceNewAttributeBands.AttributeLayoutElement- Throws:
java.io.IOExceptionPack200Exception
-
renumberBci
public void renumberBci(IntList bciRenumbering, java.util.Map labelsToOffsets)
- Specified by:
renumberBciin interfaceNewAttributeBands.AttributeLayoutElement
-
getBody
public java.util.List getBody()
-
-