Class ClassBands
java.lang.Object
org.apache.commons.compress.harmony.unpack200.BandSet
org.apache.commons.compress.harmony.unpack200.ClassBands
Class Bands
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]
long[]
int[][]
int[]
int[]
int[]
int[]
Returns null if all classes should use the default major and minor version or an array of integers containing the major version numberss to use for each class in the segmentint[]
Returns null if all classes should use the default major and minor version or an array of integers containing the minor version numberss to use for each class in the segmentint[][]
int[][]
int[]
int[][]
int[][]
boolean[]
int[]
int[]
int[][]
long[][]
IcTuple[][]
String[][]
int[][]
long[][]
Gets an ArrayList of ArrayLists which hold the code attributes corresponding to all classes in order.long[]
void
read
(InputStream in) Reads the input stream.void
unpack()
Unpacks this instance.Methods inherited from class org.apache.commons.compress.harmony.unpack200.BandSet
decodeBandInt, decodeBandInt, getReferences, getReferences, parseCPClassReferences, parseCPDescriptorReferences, parseCPDoubleReferences, parseCPFieldRefReferences, parseCPFloatReferences, parseCPInterfaceMethodRefReferences, parseCPIntReferences, parseCPLongReferences, parseCPMethodRefReferences, parseCPSignatureReferences, parseCPSignatureReferences, parseCPStringReferences, parseCPUTF8References, parseCPUTF8References, parseFlags, parseFlags, parseFlags, parseFlags, parseReferences, parseReferences, unpack
-
Constructor Details
-
ClassBands
- Parameters:
segment
- TODO
-
-
Method Details
-
getClassAttributes
-
getClassFieldCount
-
getClassFlags
-
getClassInterfacesInts
-
getClassMethodCount
-
getClassSuperInts
-
getClassThisInts
-
getClassVersionMajor
Returns null if all classes should use the default major and minor version or an array of integers containing the major version numberss to use for each class in the segment- Returns:
- Class file major version numbers, or null if none specified
-
getClassVersionMinor
Returns null if all classes should use the default major and minor version or an array of integers containing the minor version numberss to use for each class in the segment- Returns:
- Class file minor version numbers, or null if none specified
-
getCodeHandlerCatchPO
-
getCodeHandlerClassRCN
-
getCodeHandlerCount
-
getCodeHandlerEndPO
-
getCodeHandlerStartP
-
getCodeHasAttributes
-
getCodeMaxNALocals
-
getCodeMaxStack
-
getFieldAttributes
-
getFieldDescrInts
-
getFieldFlags
-
getIcLocal
-
getMethodAttributes
-
getMethodDescr
-
getMethodDescrInts
-
getMethodFlags
-
getOrderedCodeAttributes
Gets an ArrayList of ArrayLists which hold the code attributes corresponding to all classes in order. If a class doesn't have any attributes, the corresponding element in this list will be an empty ArrayList.- Returns:
- ArrayList
-
getRawClassFlags
-
read
Description copied from class:BandSet
Reads the input stream.- Specified by:
read
in classBandSet
- Parameters:
in
- the stream to read.- Throws:
IOException
- if a problem occurs during reading from the underlying stream.Pack200Exception
- if a problem occurs with an unexpected value or unsupported Codec.
-
unpack
Description copied from class:BandSet
Unpacks this instance.
-