Class PathResolver


  • public class PathResolver
    extends Object
    A simple utility for resolving paths based on the home dir or current work dir.
    • Constructor Detail

      • PathResolver

        public PathResolver()
    • Method Detail

      • resolve

        public static Path resolve​(String path)
        Creates Path based on the input string. Path staring with ~/ is interpreted as path from USER.HOME system property.
        Parameters:
        path - string path
        Returns:
        path