com.google.doclava
Class JarUtils
java.lang.Object
com.google.doclava.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-2013 Google. All Rights Reserved.