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
-
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) void
unpack()
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
- Specified by:
read
in classBandSet
- Throws:
IOException
Pack200Exception
-
unpack
-