java get absolute path from relative 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();