Class ClasspathJarUtils


  • public class ClasspathJarUtils
    extends Object
    • Method Detail

      • createJar

        @Nullable
        public static @Nullable File createJar​(@NotNull
                                               @NotNull File dir)
                                        throws IOException
        Creates a jar file from directory
        Parameters:
        dir - the directory to put into jar
        Returns:
        created jar file
        Throws:
        IOException
      • getBlackListPatterns

        @NotNull
        public static @NotNull List<String> getBlackListPatterns()
        Return a list of blacklisted patterns for agent bootstrap loading. This list will contain: - JAR name patterns - type 2 plugin keys Lines in this file can use '#' in the 1st column as a comment marker
        Returns:
        list of blacklisted patterns for agent bootstrap loading