This method can be relatively expensive. Computing a translation may require forking an external process per path name translated. Callers should try to minimize the number of translations necessary by caching the results.
Not all platforms and JREs require path name translation. Currently only Cygwin on Win32 require translation for Cygwin based paths.
@param dir directory relative to which the path name is.
@param name path name to translate.
@return the translated path. new File(dir,name)
if thisplatform does not require path name translation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|