|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.maven.util.PathUtils
public final class PathUtils
Utilities for handling paths Maven.
Method Summary | |
---|---|
static boolean |
exists(List<String> roots) Checks if any elements of the list of directory roots exists. |
static String |
getUpPath(String relativePath) |
static List<String> |
toClassPath(List<Artifact> artifacts) Builds a class path from the list of artifacts. |
static String |
toClassPathString(List<Artifact> artifacts, char pathSeparator) Builds a class path string from the list of artifacts. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String toClassPathString(List<Artifact> artifacts, char pathSeparator)
artifacts
- the artifacts to include into the class path.
pathSeparator
- the separator to put between the path elements.
public static List<String> toClassPath(List<Artifact> artifacts)
artifacts
- the artifacts to include into the class path.
String
s).
public static boolean exists(List<String> roots)
roots
- the directory roots check for existence.
true
if at least one of the roots exists,
false
otherwise.
public static String getUpPath(String relativePath)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |