Class NewAttributeBands.Callable
- java.lang.Object
-
- org.apache.commons.compress.harmony.unpack200.NewAttributeBands.Callable
-
- Enclosing class:
- NewAttributeBands
public static class NewAttributeBands.Callable extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Callable(java.util.List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCount(int count)Adds the count of a call to this callable (ie the number of calls)voidaddNextToAttribute(NewAttribute attribute)Used by calls when adding band contents to attributes, so they don't have to keep track of the internal index of the callable.voidaddToAttribute(int n, NewAttribute attribute)java.util.List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement>getBody()booleanisBackwardsCallable()voidreadBands(java.io.InputStream in, int count)voidsetBackwardsCallable()Tells this Callable that it is a backwards callablevoidsetFirstCallable(boolean isFirstCallable)
-
-
-
Constructor Detail
-
Callable
public Callable(java.util.List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> body)
-
-
Method Detail
-
addCount
public void addCount(int count)
Adds the count of a call to this callable (ie the number of calls)- Parameters:
count- TODO
-
addNextToAttribute
public void addNextToAttribute(NewAttribute attribute)
Used by calls when adding band contents to attributes, so they don't have to keep track of the internal index of the callable.- Parameters:
attribute- TODO
-
addToAttribute
public void addToAttribute(int n, NewAttribute attribute)
-
getBody
public java.util.List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> getBody()
-
isBackwardsCallable
public boolean isBackwardsCallable()
-
readBands
public void readBands(java.io.InputStream in, int count) throws java.io.IOException, Pack200Exception
- Throws:
java.io.IOExceptionPack200Exception
-
setBackwardsCallable
public void setBackwardsCallable()
Tells this Callable that it is a backwards callable
-
setFirstCallable
public void setFirstCallable(boolean isFirstCallable)
-
-