returns the relative path of the given file with respect to the root directory , with all file separators replaced by slashes . example : for root c : \ work and file c : \ work \ com \ example \ foo.class , the result is com/example/foo . class concode_field_sep FileOutputStream os concode_elem_sep ZipOutputStream jarOutputStream concode_field_sep ZipBuilder addDirectory concode_elem_sep void addDirectory concode_elem_sep void close concode_elem_sep ZipBuilder addFile concode_elem_sep void addFile
String function ( File arg0 , File arg1 ) { String loc0 = arg1 . getPath ( ) . substring ( arg0 . getPath ( ) . length ( ) + 1 ) ; String loc1 = loc0 . replaceAll ( "srini_string" + File . separator , "srini_string" ) ; return loc1 ; }