src/main/java/org/jboss/util/Strings.java
/**
    * Return a string composed of the given array.
    *
    * @param buff       Buffer used to construct string value (not reset).
    * @param array      Array of objects.
    * @param prefix     String prefix.
    * @param separator  Element sepearator.
    * @param suffix     String suffix.
    * @return           String in the format of:
    *                   prefix + n ( + separator + n+i)* + suffix.
    */
Return a string composed of the given array.
@param buff       Buffer used to construct string value (not reset).
@param array      Array of objects.
@param prefix     String prefix.
@param separator  Element sepearator.
@param suffix     String suffix.
Return a string composed of the given array . @param buff Buffer used to construct string value ( not reset ) . @param array Array of objects . @param prefix String prefix . @param separator Element sepearator . @param suffix String suffix .
public static String join(final StringBuffer buff, final Object[] array,
      final String prefix, final String separator,
      final String suffix)
   {
      buff.append(prefix);
      join(buff, array, separator);
      buff.append(suffix);
      return buff.toString();
   }
public static String join ( final StringBuffer buff , final Object [ ] array , final String prefix , final String separator , final String suffix ) { buff . append ( prefix ) ; join ( buff , array , separator ) ; buff . append ( suffix ) ; return buff . toString ( ) ; }
Return a string composed of the given array.
Return a string composed of the given array .