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