Package org.openjdk.asmtools.jcdec
Class Main
java.lang.Object
org.openjdk.asmtools.jcdec.Main
Main program of the JavaCard DeCoder
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static String[](package private) String[](package private) boolean(package private) static final int(package private) static final intprivate static final char[]static final I18NResourceBundle(package private) PrintWriterThe stream where error message are printed.(package private) boolean(package private) StringName of the program.(package private) static String[](package private) int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) DataInputStreambeginComponent(String inpName) (package private) static StringcompName(int compNum) booleanRun the decoder(package private) voiddecodeApplet(String inpName) (package private) void(package private) voiddecodeClass(String inpName) (package private) voiddecodeConstantPool(String inpName) (package private) voiddecodeDescriptor(String inpName) (package private) voiddecodeDirectory(String inpName) (package private) void(package private) voiddecodeExport(String inpName) (package private) voiddecodeHeader(String inpName) (package private) voiddecodeImport(String inpName) (package private) voiddecodeMethod(String inpName) (package private) voiddecodeRefLocation(String inpName) (package private) voiddecodeStaticField(String inpName) (package private) voidvoidstatic voidMain program(package private) void(package private) void(package private) void(package private) void(package private) voidprintByteHex(PrintWriter out, int b) (package private) voidprintBytes(DataInputStream in, int len) (package private) void(package private) StringstartArray(int length) (package private) static StringtoHex(long val) (package private) static StringtoHex(long val, int width) voidusage()Usage
-
Field Details
-
program
String programName of the program. -
i18n
-
out
PrintWriter outThe stream where error message are printed. -
DebugFlag
boolean DebugFlag -
printDetails
boolean printDetails -
shift
int shift -
hexTable
private static final char[] hexTable -
EXPORT_MAGIC
static final int EXPORT_MAGIC- See Also:
-
HEADER_MAGIC
static final int HEADER_MAGIC- See Also:
-
compNames
-
cPoolStrings
String[] cPoolStrings -
methodsLengths
-
methodsOffsets
-
refNames
-
-
Constructor Details
-
Main
Constructor.
-
-
Method Details
-
toHex
-
toHex
-
printByteHex
-
out_begin
-
out_print
-
out_println
-
out_end
-
startArray
-
printBytes
- Throws:
IOException
-
compName
-
decodeAttr
- Throws:
IOException
-
decodeExp
- Throws:
IOException
-
beginComponent
- Throws:
IOException
-
endComponent
- Throws:
IOException
-
decodeHeader
- Throws:
IOException
-
decodeDirectory
- Throws:
IOException
-
decodeApplet
- Throws:
IOException
-
decodeImport
- Throws:
IOException
-
decodeConstantPool
- Throws:
IOException
-
printClassref
- Throws:
IOException
-
decodeClass
- Throws:
IOException
-
decodeDescriptor
- Throws:
IOException
-
decodeMethod
- Throws:
IOException
-
decodeStaticField
- Throws:
IOException
-
decodeRefLocation
- Throws:
IOException
-
decodeExport
- Throws:
IOException
-
error
-
usage
public void usage()Usage -
decode
Run the decoder -
main
Main program
-