converts the given path into an absolute one . this prepends the given rootpath and removes all . 's from the path . if an absolute path is given , it will not be prefixed . unlike file.getabsolutepath , this function does remove . 's from the path and unlike file.getcanonicalpath , this function does not resolve symlinks and does not use filesystem calls . concode_field_sep CharMatcher SLASH_MATCHER concode_elem_sep CharMatcher NON_SLASH_MATCHER concode_field_sep String makeRelative concode_elem_sep String collapseDots concode_elem_sep boolean isAbsolute concode_elem_sep String removeExtraneousSlashes
String function ( String arg0 , String arg1 ) { if ( ! isAbsolute ( arg0 ) ) { arg0 = arg1 + "srini_string" + arg0 ; } return collapseDots ( arg0 ) ; }