com.atlassian.bamboo.agent.classserver
Class ClasspathJarUtils

java.lang.Object
  extended by com.atlassian.bamboo.agent.classserver.ClasspathJarUtils

public class ClasspathJarUtils
extends java.lang.Object


Nested Class Summary
static class ClasspathJarUtils.JarBuilderWalker
           
 
Method Summary
static java.io.File createJar(java.io.File dir)
          Creates a jar file from directory
static java.io.File createJar(java.io.File dir, ClasspathJarUtils.JarBuilderWalker jarBuilderWalker)
          Creates a jar file from directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createJar

@Nullable
public static java.io.File createJar(@NotNull
                                              java.io.File dir)
                              throws java.io.IOException
Creates a jar file from directory

Parameters:
dir - the directory to put into jar
Returns:
created jar file
Throws:
java.io.IOException

createJar

@Nullable
public static java.io.File createJar(@NotNull
                                              java.io.File dir,
                                              @NotNull
                                              ClasspathJarUtils.JarBuilderWalker jarBuilderWalker)
                              throws java.io.IOException
Creates a jar file from directory

Parameters:
dir - the directory to put into jar
Returns:
created jar file
Throws:
java.io.IOException


Copyright © 2012 Atlassian. All Rights Reserved.