Class PathElement
- java.lang.Object
-
- com.github.fridujo.junit.extension.classpath.PathElement
-
- All Implemented Interfaces:
Comparable<PathElement>
public class PathElement extends Object implements Comparable<PathElement>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(PathElement o)static PathElementcreate(String rawPath)booleanequals(Object o)inthashCode()booleanmatches(Gav gav)booleanmatches(Collection<Gav> gavs)PathtoPath()StringtoString()URLtoUrl()
-
-
-
Method Detail
-
create
public static PathElement create(String rawPath)
-
toPath
public Path toPath()
-
toUrl
public URL toUrl()
-
matches
public boolean matches(Gav gav)
-
matches
public boolean matches(Collection<Gav> gavs)
-
compareTo
public int compareTo(PathElement o)
- Specified by:
compareToin interfaceComparable<PathElement>
-
-