You can just use the Paths
class:
Path path = Paths.get(textPath);
… assuming you want to use the default file system, of course.
You can just use the Paths
class:
Path path = Paths.get(textPath);
… assuming you want to use the default file system, of course.