public static class NewAttributeBands.Callable extends Object
Constructor and Description |
---|
Callable(List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> body) |
Modifier and Type | Method and 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)
Adds the band data for this element at the given index to the attribute.
|
List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> |
getBody() |
boolean |
isBackwardsCallable() |
void |
readBands(InputStream in,
int count)
Read the bands associated with this part of the layout.
|
void |
setBackwardsCallable()
Tells this Callable that it is a backwards callable
|
void |
setFirstCallable(boolean isFirstCallable) |
public void addNextToAttribute(NewAttribute attribute)
attribute
- TODOpublic void addCount(int count)
count
- TODOpublic void readBands(InputStream in, int count) throws IOException, Pack200Exception
in
- TODOcount
- TODOIOException
- If an I/O error occurs.Pack200Exception
- Bad archive.public void addToAttribute(int n, NewAttribute attribute)
n
- Index position to add the attribute.attribute
- The attribute to add.public boolean isBackwardsCallable()
public void setBackwardsCallable()
public void setFirstCallable(boolean isFirstCallable)
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.