Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get absolute path from relative java

String absolutePath = FileSystems.getDefault()
  .getPath(mayBeRelativePath)
  .normalize()
  .toAbsolutePath()
  .toString();
 
PREVIOUS NEXT
Tagged: #absolute #path #relative #java
ADD COMMENT
Topic
Name
3+8 =