path get absolute path code example
Example: get absolute path from relative java
String absolutePath = FileSystems.getDefault()
.getPath(mayBeRelativePath)
.normalize()
.toAbsolutePath()
.toString();
String absolutePath = FileSystems.getDefault()
.getPath(mayBeRelativePath)
.normalize()
.toAbsolutePath()
.toString();