All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class utils.ClassCode

java.lang.Object
   |
   +----utils.ClassCode

public class ClassCode
extends Object
Obtain classfile for a class


Constructor Index

 o ClassCode()

Method Index

 o get(String)
Convert a fully qualified class name into an array of its bytes that is the classfile.
 o main(String[])
Test the class.

Constructors

 o ClassCode
 public ClassCode()

Methods

 o get
 public static byte[] get(String cn) throws Exception
Convert a fully qualified class name into an array of its bytes that is the classfile. Search the standard classpath and load the file -- can't find any other way

 o main
 public static void main(String args[]) throws Exception
Test the class.


All Packages  Class Hierarchy  This Package  Previous  Next  Index