Maven module :un.api : api-system :
Class : un.system.path.Paths
Extends/Implements : -
Subclasses : -

Convinient methods for path manipulation.
author  Johann Sorel


Variables : -
Functions : getFormats, resolve, stripExtension, getExtension, relativePath




Lists available path formats.
return  array of PathFormat, never null but can be empty.
public PathFormat[] getFormats ()


Resolve given string to a path.
A least the following protocols must be supported :
return
public Path resolve (String strPath)


Remove the extension of a path.
example : for entry 'test.png' result is 'test'

@param name
@return
public Chars stripExtension (Chars name)


get the extension of a path.
example : for entry 'test.png' result is 'png'

@param name
@return
public Chars getExtension (Chars name)


param  base
param  child
return
public Chars relativePath (Path base, Path child)