All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.ants.utils.ClassCode
java.lang.Object
   |
   +----edu.utah.janos.ants.utils.ClassCode

  Summary

public class  ClassCode
     extends java.lang.Object
{
          // Constructors 1
     public ClassCode();

          // Methods 1
     public static byte[] get(String) throws Exception;

}

Obtain classfile as an array of bytes for a given class name.

Superseded by ClassPathReader.

Author:
David Wetherall




  Constructors

· ClassCode

Summary  |  Top

   public ClassCode() 

Default constructor



  Methods

· get

Summary  |  Top
   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

Parameter Description
cn The name of the class to find. Use '.' for package separator, and do not append '.class'.

Returns:
an array of bytes with the appropriate class file.


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7