public final class Location extends Object implements Comparable<Location>
| Modifier and Type | Field and Description |
|---|---|
static String |
FILESYSTEM_PREFIX
The prefix for filesystem locations.
|
| Constructor and Description |
|---|
Location(String descriptor)
Creates a new location.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Location o) |
boolean |
equals(Object o) |
String |
getDescriptor()
Return the complete location descriptor.
|
String |
getPath()
Return the path part of the location.
|
String |
getPrefix()
Return the prefix denoting classpath of filesystem.
|
int |
hashCode() |
boolean |
isClassPath()
Return true if this denotes a classpath location.
|
boolean |
isFileSystem()
Return true if this denotes a filesystem location.
|
String |
toString() |
public static final String FILESYSTEM_PREFIX
public boolean isClassPath()
public boolean isFileSystem()
public String getDescriptor()
public int compareTo(Location o)
compareTo in interface Comparable<Location>Copyright © 2018. All rights reserved.