org.mule.devkit.doclet
Class JarUtils
java.lang.Object
org.mule.devkit.doclet.JarUtils
public class JarUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jarForClass
public static JarFile jarForClass(Class<?> clazz,
JarFile defaultJar)
- Returns the jar file used to load class clazz, or defaultJar if clazz was not loaded from a
jar.
copyResourcesToDirectory
public static void copyResourcesToDirectory(JarFile fromJar,
String jarDir,
String destDir)
throws IOException
- Copies a directory from a jar file to an external directory.
- Throws:
IOException
Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.