jreversepro.revengine
Class JSerializer

java.lang.Object
  extended by jreversepro.revengine.JSerializer
All Implemented Interfaces:
KeyWords

public class JSerializer
extends java.lang.Object
implements KeyWords

Serializes the Classes to a string buffer.

Author:
Karthik Kumar

Field Summary
 
Fields inherited from interface jreversepro.common.KeyWords
ANY, BOOLEAN, BREAK, BYTE, CASE, CHAR, CLASS, CLASS_STRING, CLINIT, CLOSE_BRACKET, COND_AND, COND_NOT, COND_OR, CONTINUE, DEFAULT, DEFAULT_PACKAGE, DOUBLE, EQUALTO, FALSE, FLOAT, FOREIGN_CLASS, FOREIGN_OBJ, GOTO, INIT, INSTANCEOF, INT, INTERFACE, JVM_BOOLEAN, JVM_CHAR, JVM_VOID, LANG_OBJECT, LENGTH, LONG, NEW, NULL, OPEN_BRACKET, OPR_EQ, OPR_GE, OPR_GT, OPR_LE, OPR_LT, OPR_NE, OPR_NOT, REFERENCE, RET_ADDR, RETURN, SHORT, SPACE, STATIC, SUPER, SWITCH, THIS, THISCLASS, THROW, TRUE, VOID
 
Constructor Summary
JSerializer()
           
 
Method Summary
 JClassInfo loadClass(java.io.File file)
           
 JClassInfo loadClass(java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSerializer

public JSerializer()
Method Detail

loadClass

public JClassInfo loadClass(java.io.File file)
                     throws ClassParserException,
                            java.io.IOException
Parameters:
file - File reference pointing to the .class file to be reverse engineered.
Returns:
Reference of type JClassInfo containing information of the class.
Throws:
java.io.IOException - Thrown in case of any i/o error while parsing class file.
ClassParserException - thrown in case of any class file format error or not a class file.

loadClass

public JClassInfo loadClass(java.net.URL url)
                     throws ClassParserException,
                            java.io.IOException
Parameters:
url - URL reference pointing to the .class file to be reverse engineered.
Returns:
Reference of type JClassInfo containing information of the class.
Throws:
java.io.IOException - Thrown in case of any i/o error while parsing class file.
ClassParserException - thrown in case of any class file format error or not a class file.


Submit Feedback to akkumar@users.sourceforge.net