com.acciente.commons.loader
Class ClassFile

java.lang.Object
  extended by com.acciente.commons.loader.ClassFile

public class ClassFile
extends Object

This class has methods to read information from a class file. (this class makes heavy use of the Apache BCEL library)

Author:
Adinath Raveendra Raj

Constructor Summary
ClassFile(byte[] ayClassByteCode)
           
ClassFile(File oByteCodeFile)
           
 
Method Summary
 Set getReferencedClasses()
          This method returns the names of classes referenced by this class, including inner classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFile

public ClassFile(File oByteCodeFile)
          throws IOException
Throws:
IOException

ClassFile

public ClassFile(byte[] ayClassByteCode)
          throws IOException
Throws:
IOException
Method Detail

getReferencedClasses

public Set getReferencedClasses()
This method returns the names of classes referenced by this class, including inner classes.

Returns:
a set containing strings representing fully qualified class names


Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.