Class PathUtils


  • public class PathUtils
    extends Object
    • Constructor Detail

      • PathUtils

        public PathUtils()
    • Method Detail

      • locateBasenameInPath

        public static File[] locateBasenameInPath​(String filename)
      • findBasenameInFolder

        public static File[] findBasenameInFolder​(String pathname,
                                                  String filename)
      • locateFileInPath

        public static File locateFileInPath​(String filename,
                                            String path)
      • getShortFileName

        public static String getShortFileName​(String fullPath)
      • getPath

        public static String getPath​(String fullFilePath)
      • normalizeDirectorySeparators

        public static String normalizeDirectorySeparators​(String path)
      • appendExtentionIfNotEmpty

        public static String appendExtentionIfNotEmpty​(String s,
                                                       String defaultExtention,
                                                       String... allowedExtentions)