String function ( String arg0 , String arg1 ) { if ( arg0 . endsWith ( "srini_string" ) ) { return arg0 + removeLeadingUnixSlash ( arg1 ) ; } else { return arg0 + addLeadingUnixSlash ( arg1 ) ; } }
builds a file path that ensures the directory and filename are separated by a single separator . this is only suitable for unix and url paths . file paths need special care for the differences between systems / on unix and \ on windows concode_field_sep PlaceHolder placeHolder concode_field_sep String buildFilePath concode_elem_sep String addLeadingSlash concode_elem_sep String removeLeadingSlash concode_elem_sep String removeLeadingUnixSlash concode_elem_sep String addLeadingUnixSlash