@ Override public Path toAbsolutePath ( ) { // Already absolute? if ( this . isAbsolute ( ) ) { return this ; } // Else construct a new absolute path and normalize it final Path absolutePath = new ShrinkWrapPath ( ArchivePath . SEPARATOR + this . path , this . fileSystem ) ; final Path normalized = absolutePath . normalize ( ) ; return normalized ; }
Resolves relative paths against the root directory normalizing as well .