public String canonicalOrAbsolutePath ( String path ) { try { return canonicalPath ( path ) ; } catch ( Exception e ) { return absolutePath ( path ) ; } }
Retrieves the canonical path for the given path or the absolute path if attemting to retrieve the canonical path fails .