Class ResolvePathAbsolute
Object
ResolvePathAbsolute
More advanced implementation of 
Path.resolve(java.nio.file.Path).
 It will always return an absolute-path.
If the base-path is a file, rather than a directory, it will consider only the directory component, and otherwise proceed.
- Author:
 - Owen Feehan
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic PathLikePath.resolve(java.nio.file.Path)but with some additional quirks. 
- 
Method Details
- 
resolve
LikePath.resolve(java.nio.file.Path)but with some additional quirks.Please see the class-description.
- Parameters:
 basePath- the base path onto whichrelativePathToJoinis joined. It it's a path to a file, only the directory component is used.toJoin- normally a relative-path (relative tobasePathbut it can also be an absolute-path.- Returns:
 - an absolute-path to a combination of 
basePathandtoJoin, ortoJoinalone if it's absolute. 
 
 -