|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.util.ClassUtilities
public class ClassUtilities
Provides convenience methods related classes.
Method Summary | |
---|---|
Class |
getClassFrom(String className)
Return the class specified by the given class name. |
static ClassUtilities |
getInstance()
Return the singleton instance of this class. |
String |
getPackageAsFilepath(Class aClass)
Return the package name in the form of a filepath. |
String |
getPackageAsFilepath(Class aClass,
boolean isPlatformSpecific)
Return the package name in the form of a filepath. |
String |
getPackageName(Class aClass)
Return the package name derived from the class. |
String |
getSimpleClassName(Class aClass)
Return the class name without the full package descriptor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ClassUtilities getInstance()
public Class getClassFrom(String className)
className
- Fully qualified class name.public String getPackageAsFilepath(Class aClass)
public String getPackageAsFilepath(Class aClass, boolean isPlatformSpecific)
aClass
- The class of interest.isPlatformSpecific
- Flag indicating whether the platform specific
file separator should be used.public String getPackageName(Class aClass)
public String getSimpleClassName(Class aClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |