String tagsToString ( Map < String , String > tagMap ) { StringBuilder sb = new StringBuilder ( ) ; for ( String key : tagMap . keySet ( ) ) { // Skip some tags if ( key . equalsIgnoreCase ( "created_by" ) ) { continue ; } if ( sb . length ( ) > 0 ) { sb . append ( ' ' ) ; } sb . append ( key ) . append ( ' ' ) . append ( tagMap . get ( key ) ) ; } return sb . toString ( ) ; }
Convert tags to a string representation using \ r delimiter .