public class ClassPathUtil
extends java.lang.Object
| Constructor and Description |
|---|
ClassPathUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
findCodeBaseInClassPath(java.util.regex.Pattern codeBaseNamePattern,
java.lang.String classPath)
Try to find a codebase matching the given pattern in the given
class path string.
|
static java.lang.String |
findCodeBaseInClassPath(java.lang.String codeBaseName,
java.lang.String classPath)
Try to find a codebase with the given name in the given
class path string.
|
public static java.lang.String findCodeBaseInClassPath(@Nonnull
java.lang.String codeBaseName,
java.lang.String classPath)
codeBaseName - name of a codebase (e.g., "findbugs.jar")classPath - a classpathpublic static java.lang.String findCodeBaseInClassPath(java.util.regex.Pattern codeBaseNamePattern,
java.lang.String classPath)
codeBaseNamePattern - pattern describing a codebase
(e.g., compiled from the regex "findbugs\\.jar$")classPath - a classpathFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.