Package io.avaje.classpath.scanner.core
Class Location
- java.lang.Object
-
- io.avaje.classpath.scanner.core.Location
-
- All Implemented Interfaces:
Comparable<Location>
public final class Location extends Object implements Comparable<Location>
A starting location to scan from.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Location o)booleanequals(Object o)StringgetDescriptor()Return the complete location descriptor.StringgetPath()Return the path part of the location.StringgetPrefix()Return the prefix denoting classpath of filesystem.inthashCode()booleanisClassPath()Return true if this denotes a classpath location.booleanisFileSystem()Return true if this denotes a filesystem location.StringtoString()
-
-
-
Method Detail
-
isClassPath
public boolean isClassPath()
Return true if this denotes a classpath location.
-
isFileSystem
public boolean isFileSystem()
Return true if this denotes a filesystem location.
-
getDescriptor
public String getDescriptor()
Return the complete location descriptor.
-
compareTo
public int compareTo(Location o)
- Specified by:
compareToin interfaceComparable<Location>
-
-