protected static String getBuiltCssValue(final String... fontFamilyNames) {
        final StringBuilder cssValueSB = new StringBuilder();
        int count = 1;
        for (final String fontFamilyName : fontFamilyNames) {
            if (StringUtil.containsSpace(fontFamilyName)) {
                cssValueSB.append('\"').append(fontFamilyName).append('\"');
            } else {
                cssValueSB.append(fontFamilyName);
            }

            if (count != fontFamilyNames.length) {
                cssValueSB.append(", ");
            } else {
                break;
            }
            count++;
        }
        return StringBuilderUtil.getTrimmedString(cssValueSB);
    }
protected static String getBuiltCssValue ( final String ... fontFamilyNames ) { final StringBuilder cssValueSB = new StringBuilder ( ) ; int count = 1 ; for ( final String fontFamilyName : fontFamilyNames ) { if ( StringUtil . containsSpace ( fontFamilyName ) ) { cssValueSB . append ( '\"' ) . append ( fontFamilyName ) . append ( '\"' ) ; } else { cssValueSB . append ( fontFamilyName ) ; } if ( count != fontFamilyNames . length ) { cssValueSB . append ( ", " ) ; } else { break ; } count ++ ; } return StringBuilderUtil . getTrimmedString ( cssValueSB ) ; }
@param fontFamilyNames
@return the built cssValue string from the given fontFamilyNames.
@author WFF
@since 1.0.0