public static String capitalizeFully(String text, Character delimiter) {
    """
	Capitalizes all the delimiter separated words.
	
	@param text
	@param delimiter
	@return the capitalized input
    """
        if (isEmpty(text)) {
            return text;
        }
        text = text.toLowerCase();
        boolean capitalizeNext = true;
        StringBuilder builder = new StringBuilder();
        for (int i = 0; i < text.length(); i++) {
            final char ch = text.charAt(i);
            if (delimiter.equals(ch)) {
                capitalizeNext = true;
                builder.append(ch);
            } else if (capitalizeNext) {
                builder.append(Character.toTitleCase(ch));
                capitalizeNext = false;
            } else {
                builder.append(ch);
            }
        }
        return builder.toString();
    }
public static String capitalizeFully(String text, Character delimiter) {
        if (isEmpty(text)) {
            return text;
        }
        text = text.toLowerCase();
        boolean capitalizeNext = true;
        StringBuilder builder = new StringBuilder();
        for (int i = 0; i < text.length(); i++) {
            final char ch = text.charAt(i);
            if (delimiter.equals(ch)) {
                capitalizeNext = true;
                builder.append(ch);
            } else if (capitalizeNext) {
                builder.append(Character.toTitleCase(ch));
                capitalizeNext = false;
            } else {
                builder.append(ch);
            }
        }
        return builder.toString();
    }
public static String capitalizeFully ( String text , Character delimiter ) { if ( isEmpty ( text ) ) { return text ; } text = text . toLowerCase ( ) ; boolean capitalizeNext = true ; StringBuilder builder = new StringBuilder ( ) ; for ( int i = 0 ; i < text . length ( ) ; i ++ ) { final char ch = text . charAt ( i ) ; if ( delimiter . equals ( ch ) ) { capitalizeNext = true ; builder . append ( ch ) ; } else if ( capitalizeNext ) { builder . append ( Character . toTitleCase ( ch ) ) ; capitalizeNext = false ; } else { builder . append ( ch ) ; } } return builder . toString ( ) ; }
Capitalizes all the delimiter separated words.

@param text
@param delimiter
@return the capitalized input
Capitalizes all the delimiter separated words .