Class RelativizePath

java.lang.Object
org.apache.felix.bundleplugin.RelativizePath

public final class RelativizePath extends Object
  • Constructor Details

    • RelativizePath

      private RelativizePath()
  • Method Details

    • convertToRelativePath

      static String convertToRelativePath(File thing, 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 List<String> parentDirs(File of)