public class ClasspathBuilder extends Object
Constructor and Description |
---|
ClasspathBuilder() |
Modifier and Type | Method and Description |
---|---|
ClasspathBuilder |
append(String path) |
ClasspathBuilder |
append(String path,
FileFilter filter) |
ClasspathBuilder |
append(String path,
FileFilter filter,
boolean archivesOnly) |
ClasspathBuilder |
appendLib(String path) |
ClasspathBuilder |
appendLib(String path,
FileFilter filter) |
ClasspathBuilder |
appendOptional(String path) |
ClasspathBuilder |
appendOptional(String path,
FileFilter filter) |
ClasspathBuilder |
appendPlatform(String path) |
ClasspathBuilder |
appendRequired() |
ClasspathBuilder |
appendRequired(FileFilter filter) |
static FileFilter |
startsWithFilter(String... prefix) |
List<String> |
toFilesNames() |
List<URL> |
toURLs() |
URL[] |
toURLsArray() |
public ClasspathBuilder appendLib(String path)
public ClasspathBuilder appendLib(String path, FileFilter filter)
public ClasspathBuilder appendRequired()
public ClasspathBuilder appendRequired(FileFilter filter)
public ClasspathBuilder appendPlatform(String path)
public ClasspathBuilder appendOptional(String path)
public ClasspathBuilder appendOptional(String path, FileFilter filter)
public ClasspathBuilder append(String path)
public ClasspathBuilder append(String path, FileFilter filter)
public ClasspathBuilder append(String path, FileFilter filter, boolean archivesOnly)
public List<URL> toURLs() throws MalformedURLException
MalformedURLException
public URL[] toURLsArray() throws MalformedURLException
MalformedURLException
public static FileFilter startsWithFilter(String... prefix)
Copyright © GigaSpaces.