protected String unfoldArray ( String prefix , Object [ ] array , PropertyEditor editor ) { //StringBuffer sb = new StringBuffer("\n"); StringBuffer sb = new StringBuffer ( "[" ) ; for ( int index = 0 ; index < array . length ; index ++ ) { if ( editor != null ) { editor . setValue ( array [ index ] ) ; sb . append ( editor . getAsText ( ) ) ; } else { sb . append ( array [ index ] . toString ( ) ) ; } if ( index < array . length - 1 ) { sb . append ( CID_SEPARATOR ) ; //sb.append("\n"); } } sb . append ( "]" ) ; return sb . toString ( ) ; }
Default implementation .