URI function ( File arg0 ) { URI loc0 = arg0 . getCanonicalFile ( ) . toURI ( ) ; if ( loc0 . getPath ( ) . endsWith ( "srini_string" ) ) { String loc1 = loc0 . toString ( ) ; try { loc0 = new URI ( loc1 . substring ( 0 , loc1 . length ( ) - 1 ) ) ; } catch ( URISyntaxException loc2 ) { throw new IOException ( loc2 ) ; } } return loc0 ; }
converts the passed file to a uri . this method trims the trailing slash if one is appended because the underlying file is in fact a directory that exists . concode_field_sep Log LOG concode_field_sep List<URI> stringCollectionAsURIs concode_elem_sep URI stringAsURI