Package com.sun.xml.ws.test
Class RealmBuilder
- java.lang.Object
-
- com.sun.xml.ws.test.RealmBuilder
-
public final class RealmBuilder extends Object
Adds jar files toClassRealmand also builds upPathto remember what those jars are.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description RealmBuilder(org.codehaus.classworlds.ClassRealm realm)RealmBuilder(org.codehaus.classworlds.ClassRealm realm, org.apache.tools.ant.types.Path classPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddClassFolder(File classFolder)Adds a single class folder.voidaddJar(File jar)Adds a single jar.voidaddJarFolder(File folder, String... excludes)Adds all jars in the given folder.voiddump(PrintStream out)
-
-
-
Method Detail
-
addJar
public void addJar(File jar) throws IOException
Adds a single jar.- Throws:
IOException
-
addClassFolder
public void addClassFolder(File classFolder) throws IOException
Adds a single class folder.- Throws:
IOException
-
addJarFolder
public void addJarFolder(File folder, String... excludes) throws IOException
Adds all jars in the given folder.- Parameters:
folder- A directory that contains a bunch of jar files.excludes- List of jars to be excluded- Throws:
IOException
-
dump
public void dump(PrintStream out)
-
-