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 body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCount(int count)
Adds the count of a call to this callable (ie the number of calls)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.void
addToAttribute(int n, NewAttribute attribute)
java.util.List
getBody()
boolean
isBackwardsCallable()
void
readBands(java.io.InputStream in, int count)
void
setBackwardsCallable()
Tells this Callable that it is a backwards callablevoid
setFirstCallable(boolean isFirstCallable)
-
-
-
Constructor Detail
-
Callable
public Callable(java.util.List body) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
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
-
addCount
public void addCount(int count)
Adds the count of a call to this callable (ie the number of calls)- Parameters:
count
- TODO
-
readBands
public void readBands(java.io.InputStream in, int count) throws java.io.IOException, Pack200Exception
- Throws:
java.io.IOException
Pack200Exception
-
addToAttribute
public void addToAttribute(int n, NewAttribute attribute)
-
isBackwardsCallable
public boolean isBackwardsCallable()
-
setBackwardsCallable
public void setBackwardsCallable()
Tells this Callable that it is a backwards callable
-
setFirstCallable
public void setFirstCallable(boolean isFirstCallable)
-
getBody
public java.util.List getBody()
-
-