public abstract class PathSourcePath extends Object implements SourcePath
Constructor and Description |
---|
PathSourcePath() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SourcePath other) |
boolean |
equals(Object other) |
static Optional<PathSourcePath> |
from(SourcePath sourcePath) |
abstract ProjectFilesystem |
getFilesystem() |
abstract Path |
getRelativePath() |
int |
hashCode() |
static PathSourcePath |
of(ProjectFilesystem filesystem,
ForwardRelativePath relativePath) |
static PathSourcePath |
of(ProjectFilesystem filesystem,
Path relativePath) |
static PathSourcePath |
of(ProjectFilesystem filesystem,
RelPath relativePath) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareClasses
public abstract ProjectFilesystem getFilesystem()
public abstract Path getRelativePath()
public int compareTo(SourcePath other)
compareTo
in interface Comparable<SourcePath>
public static PathSourcePath of(ProjectFilesystem filesystem, Path relativePath)
public static PathSourcePath of(ProjectFilesystem filesystem, ForwardRelativePath relativePath)
public static PathSourcePath of(ProjectFilesystem filesystem, RelPath relativePath)
public static Optional<PathSourcePath> from(SourcePath sourcePath)
PathSourcePath
backing the given SourcePath
, if any.