Module java.base
Package java.nio.file

Class Paths

java.lang.Object
java.nio.file.Paths

public final class Paths extends Object
This class consists exclusively of static methods that return a Path by converting a path string or URI.
API Note:
It is recommended to obtain a Path via the Path.of methods instead of via the get methods defined in this class as this class may be deprecated in a future release.
Since:
1.7
See Also: