Package com.sun.enterprise.admin.cli
Class ClassPathBuilder
- java.lang.Object
-
- com.sun.enterprise.admin.cli.ClassPathBuilder
-
-
Constructor Summary
Constructors Constructor Description ClassPathBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassPathBuilderadd(File f)Adds a single jar file or a class file directory.ClassPathBuilderadd(File f, String... pathFragments)Allows one to writeadd(f,"lib","a.jar")instead of add(new File(new File(f,"lib"),"a.jar")ClassPathBuilderaddAll(File... files)ClassPathBuilderaddAll(File dir, FileFilter filter)Adds all the files in the given directory that match the given filter.Iterator<File>iterator()StringtoString()Formats the path in a single-argument format suitable after the "-cp" JVM option.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
add
public ClassPathBuilder add(File f)
Adds a single jar file or a class file directory.
-
add
public ClassPathBuilder add(File f, String... pathFragments)
Allows one to writeadd(f,"lib","a.jar")instead of add(new File(new File(f,"lib"),"a.jar")
-
addAll
public ClassPathBuilder addAll(File dir, FileFilter filter)
Adds all the files in the given directory that match the given filter.
-
addAll
public ClassPathBuilder addAll(File... files)
-
-