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 int
private static final char[]
static final I18NResourceBundle
(package private) PrintWriter
The stream where error message are printed.(package private) boolean
(package private) String
Name of the program.(package private) static String[]
(package private) int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) DataInputStream
beginComponent
(String inpName) (package private) static String
compName
(int compNum) boolean
Run the decoder(package private) void
decodeApplet
(String inpName) (package private) void
(package private) void
decodeClass
(String inpName) (package private) void
decodeConstantPool
(String inpName) (package private) void
decodeDescriptor
(String inpName) (package private) void
decodeDirectory
(String inpName) (package private) void
(package private) void
decodeExport
(String inpName) (package private) void
decodeHeader
(String inpName) (package private) void
decodeImport
(String inpName) (package private) void
decodeMethod
(String inpName) (package private) void
decodeRefLocation
(String inpName) (package private) void
decodeStaticField
(String inpName) (package private) void
void
static void
Main program(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
printByteHex
(PrintWriter out, int b) (package private) void
printBytes
(DataInputStream in, int len) (package private) void
(package private) String
startArray
(int length) (package private) static String
toHex
(long val) (package private) static String
toHex
(long val, int width) void
usage()
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
-