|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.tlc.util.ClassPathUtils
ClassPathUtils provides a set of static utility methods used in the manipulation of paths to classes.
Method Summary | |
static java.lang.String |
toClassName(java.lang.String path)
Returns the expected class name from a class file's absolute path or null if the path does not end with ".class". |
static java.lang.String |
toClassName(java.lang.String baseDir,
java.lang.String absolutePath)
Returns the expected class name from a class file's absolute path and the 'base dir' to calculate it from, or null if the absolutePath does not start with the baseDir and does not end with ".class". |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String toClassName(java.lang.String path)
path
- the absolute path to the class
public static java.lang.String toClassName(java.lang.String baseDir, java.lang.String absolutePath)
baseDir
- the base directoryabsolutePath
- the absolute path to the class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |