public final class RelativizePath
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
RelativizePath() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.String |
convertToRelativePath(java.io.File thing,
java.io.File relativeTo)
relativize a pathname.
|
(package private) static java.util.List<java.lang.String> |
parentDirs(java.io.File of) |
static java.lang.String convertToRelativePath(java.io.File thing, java.io.File relativeTo)
thing
- Absolute File of something. (e.g., a parent pom)relativeTo
- base to relativize it do. (e.g., a pom into which a relative pathname to the 'thing' is to be
installed).static java.util.List<java.lang.String> parentDirs(java.io.File of)