org.apache.oozie.util
Class ClassUtils

java.lang.Object
  extended by org.apache.oozie.util.ClassUtils

public class ClassUtils
extends Object

Class utilities.


Constructor Summary
ClassUtils()
           
 
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
 

Constructor Detail

ClassUtils

public ClassUtils()
Method Detail

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.