public class ClasspathJarUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClasspathJarUtils.JarBuilderWalker |
Modifier and Type | Method and Description |
---|---|
static File |
createJar(File dir)
Creates a jar file from directory
|
static File |
createJar(File dir,
ClasspathJarUtils.JarBuilderWalker jarBuilderWalker)
Creates a jar file from directory
|
static void |
createJar(File outputJar,
File dir,
ClasspathJarUtils.JarBuilderWalker jarBuilderWalker)
Creates a named jar file from directory
|
static List<String> |
getBlackListPatterns()
Return a list of blacklisted patterns for agent bootstrap loading.
|
@Nullable public static File createJar(@NotNull File dir) throws IOException
dir
- the directory to put into jarIOException
@Nullable public static File createJar(@NotNull File dir, @NotNull ClasspathJarUtils.JarBuilderWalker jarBuilderWalker) throws IOException
dir
- the directory to put into jarIOException
public static void createJar(@NotNull File outputJar, @NotNull File dir, @NotNull ClasspathJarUtils.JarBuilderWalker jarBuilderWalker) throws IOException
dir
- the directory to put into jarIOException
IllegalArgumentException
- when the directory was empty@NotNull public static List<String> getBlackListPatterns()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences