private String formatValue ( String [ ] value ) { String ret = "" ; for ( int i = 0 ; i < value . length ; i ++ ) { ret += value [ i ] ; if ( i < value . length - 1 ) ret += "\n" ; } return ret ; }
Format the value in one string by adding \ n after each string .