org.apache.oozie.util
Class ClassUtils
java.lang.Object
org.apache.oozie.util.ClassUtils
public class ClassUtils
- extends Object
Class utilities.
Method Summary |
static String |
findContainingJar(Class clazz)
Return the path to the JAR file in the classpath containing the specified class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassUtils
public ClassUtils()
findContainingJar
public static String findContainingJar(Class clazz)
- Return the path to the JAR file in the classpath containing the specified class. This method has been
canibalized from Hadoop's JobConf class.
- Parameters:
clazz
- class to find its JAR file.
- Returns:
- the JAR file of the class.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.