Class Paths


  • public final class Paths
    extends Object
    TODO RENAME because it conflicts with Paths.

    TODO Create an own implementation of path like data structure. Such object should have an conversion method, that transforms the path to a file like object, in order to make it easy to interact with it. Note, that the transform method should accept any kind of backend for the filesystem.

    • Method Detail

      • userHome

        public static Path userHome​(String... relativePath)
      • copyFileFrom

        public static void copyFileFrom​(Path source,
                                        Path target)
      • generateFolderPath

        public static void generateFolderPath​(Path targetFolderDescription)
      • readString

        public static String readString​(Path path)
      • removeFileSuffix

        public static String removeFileSuffix​(String fileName)