public class ClassUtils extends Object
Constructor and Description |
---|
ClassUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
findContainingJar(Class clazz)
Return the path to the JAR file in the classpath containing the specified class.
|
public ClassUtils()
public static String findContainingJar(Class clazz)
This method has been canibalized from Hadoop's JobConf class.
clazz
- class to find its JAR file.Copyright © 2018 Apache Software Foundation. All rights reserved.