com.develop.io
Class ClassPath

java.lang.Object
  |
  +--com.develop.io.ClassPath

public class ClassPath
extends java.lang.Object

This helper is used to find the file path by the class object. If the class is in the JAR file the JAR file path is returned.

Author:
Vitally Shelest

Constructor Summary
ClassPath()
           
 
Method Summary
static java.lang.String getClassPath(java.lang.Class cl)
          Returns the file path
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ClassPath

public ClassPath()
Method Detail

getClassPath

public static java.lang.String getClassPath(java.lang.Class cl)
Returns the file path
Parameters:
cl - The class object
Returns:
The file path


New Jawin designed by Vitally Shelest. This product includes software developed by the DevelopMentor OpenSource Project (http://www.develop.com/OpenSource).