Package org.glassfish.jaxb.core.util
Class Which
java.lang.Object
org.glassfish.jaxb.core.util.Which
Finds out where a class file is loaded from.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Method Summary
-
Method Details
-
which
-
which
Search the specified classloader for the given classname. Then give the return value.- Parameters:
classname- the fully qualified name of the class to search forloader- the classloader to search- Returns:
- the source location of the resource, or null if it wasn't found
-