Package net.splitcells.dem.resource
Class Paths
- java.lang.Object
-
- net.splitcells.dem.resource.Paths
-
public final class Paths extends Object
TODO RENAME because it conflicts withPaths
.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copyFileFrom(Path source, Path target)
static void
generateFolderPath(Path targetFolderDescription)
static Path
path(String root, String... elements)
static Path
path(Path root, String... elements)
static Path
path(Path root, Collection<String> elements)
static String
readString(Path path)
static String
removeFileSuffix(String fileName)
static Path
userHome(String... relativePath)
-
-
-
Method Detail
-
path
public static Path path(Path root, Collection<String> elements)
-
generateFolderPath
public static void generateFolderPath(Path targetFolderDescription)
-
-