Class RelativizePath
- java.lang.Object
-
- org.apache.maven.plugins.shade.mojo.RelativizePath
-
public final class RelativizePath extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RelativizePath()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
convertToRelativePath
static java.lang.String convertToRelativePath(java.io.File thing, java.io.File relativeTo)
relativize a pathname.- Parameters:
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).- Returns:
-
parentDirs
static java.util.List<java.lang.String> parentDirs(java.io.File of)
-
-