visidia.misc
Class ClassInfo

java.lang.Object
  extended by visidia.misc.ClassInfo

public class ClassInfo
extends java.lang.Object

This class allows to retrieve the package a compiled Java class belongs to.


Constructor Summary
ClassInfo()
           
 
Method Summary
static java.lang.String getPackage(java.lang.String aPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassInfo

public ClassInfo()
Method Detail

getPackage

public static java.lang.String getPackage(java.lang.String aPath)
                                   throws java.lang.Exception
Parameters:
aPath - the path of the class file
Returns:
the package or null if no package are defined for this class
Throws:
java.lang.Exception