ClassTools (biojava-legacy 1.9.5 API)
- java.lang.Object
-
- org.biojava.utils.ClassTools
-
public class ClassTools extends Object
Utility methods for manipulating class objects and resources.
- Since:
- 1.4
- Author:
- Thomas Down
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassLoadergetClassLoader(Class clazz)Get the classloader which loaded
clazz.static ClassLoadergetClassLoader(Object obj)Get the classloader which loaded the class of
obj.
-
-
-
Method Detail
-
getClassLoader
public static ClassLoader getClassLoader(Object obj)
Get the classloader which loaded the class of
obj.
-
getClassLoader
public static ClassLoader getClassLoader(Class clazz)
Get the classloader which loaded
clazz. This is a "safe" method which handlesnullclassloaders and returns the system classloader instead.
-
-