Package org.biojava.utils
Class ClassTools
java.lang.Object
org.biojava.utils.ClassTools
Utility methods for manipulating class objects and resources.
- Since:
- 1.4
- Author:
- Thomas Down
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassLoader
getClassLoader
(Class clazz) Get the classloader which loadedclazz
.static ClassLoader
getClassLoader
(Object obj) Get the classloader which loaded the class ofobj
.
-
Method Details
-
getClassLoader
Get the classloader which loaded the class ofobj
. -
getClassLoader
Get the classloader which loadedclazz
. This is a "safe" method which handlesnull
classloaders and returns the system classloader instead.
-