Jasml Syntax
|
User Guide Download the JASML package, then unpack the file to your local directory, say, d:\jasml. Before running JASML, make sure:
java jasml [-options] name name the name of the file to process. options can be: -d decompile java class into .jasm file. -c compile jasm file into .class file. -o override without prompt if the file already exists. -r process all sub-directories. if this is specified, name must be a directory name. -h show a discription for each instruction. -s label will occupy a single line in generated .jasm file. -l generate LineNumberTable when decompiling classes. Samples:
java jasml -d c:\testpackage\SimpleClass.class decompile c:\testpackage\SimpleClass.class, into c:\testpackage\SimpleClass.jasm. java jasml -d -h -s -l c:\testpackage\SimpleClass.class decompile c:\testpackage\SimpleClass.class, into c:\testpackage\SimpleClass.jasm, generating a description of each macro instruction, outputing the LineNumberTable attribute for each method, and each label will occupy a single line in the generated .jasm file. java jasml -d -o c:\testpackage\SimpleClass.class decompile c:\testpackage\SimpleClass.class, if c:\testpackage\SimpleClass.jasm already exists, override it. java jasml -d -o c:\testpackage decompile all .class file in c:\testpackage, and override existing .jasm files. java jasml -d -o -r c:\testpackage decompile all .class file in c:\testpackage and its sub-directories, and override existing .jasm files. java jasml -c c:\testpackage\SimpleClass.jasm compile c:\testpackage\SimpleClass.jasml into c:\testpackage\SimpleClass.class. java jasml -c -o c:\testpackage\SimpleClass.jasm compile c:\testpackage\SimpleClass.jasml into c:\testpackage\SimpleClass.class. if c:\testpackage\SimpleClass.class already exists, override it. java jasml -c -o c:\testpackage\ compile all .jasm files in c:\testpackage and its sub-directory into .class files, and override all existing files. |
Copyright 2006 - Jiang Yang , All Rights Reserved |