public static String serialize ( Object [ ] objs ) { StringBuffer buff = new StringBuffer ( ) ; for ( int i = 0 ; i < objs . length ; i ++ ) { if ( objs [ i ] != null ) { buff . append ( objs [ i ] . toString ( ) ) ; if ( i != objs . length - 1 ) buff . append ( "," ) ; } } return buff . toString ( ) ; }
Returns the given array serialized as a string .