Java org.apache.commons.text WordUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.text WordUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.text WordUtils.

The text is from its open source code.

Method

Stringcapitalize(final String str)

Capitalizes all the whitespace separated words in a String.

StringcapitalizeFully(final String str)

Converts all the whitespace separated words in a String into capitalized words, that is each word is made up of a titlecase character and then a series of lowercase characters.

StringcapitalizeFully(String str, final char... delimiters)

Converts all the delimiter separated words in a String into capitalized words, that is each word is made up of a titlecase character and then a series of lowercase characters.

Stringwrap(final String str, final int wrapLength)

Wraps a single line of text, identifying words by ' '.

New lines will be separated by the system property line separator.

Stringwrap(final String str, final int wrapLength, final String newLineStr, final boolean wrapLongWords)

Wraps a single line of text, identifying words by ' '.

Leading spaces on a new line are stripped.