public class JarFinder extends Object
Constructor and Description |
---|
JarFinder() |
Modifier and Type | Method and Description |
---|---|
private static void |
copyToZipStream(File file,
ZipEntry entry,
ZipOutputStream zos) |
private static void |
createJar(File dir,
File jarFile) |
static String |
getJar(Class klass)
Returns the full path to the Jar containing the class.
|
static void |
jarDir(File dir,
String relativePath,
ZipOutputStream zos) |
private static void |
zipDir(File dir,
String relativePath,
ZipOutputStream zos,
boolean start) |
private static void copyToZipStream(File file, ZipEntry entry, ZipOutputStream zos) throws IOException
IOException
public static void jarDir(File dir, String relativePath, ZipOutputStream zos) throws IOException
IOException
private static void zipDir(File dir, String relativePath, ZipOutputStream zos, boolean start) throws IOException
IOException
private static void createJar(File dir, File jarFile) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.