| Package | Description |
|---|---|
| humanize |
Humanize main classes.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Humanize.binaryPrefix(Number value,
Locale locale)
Same as
Humanize.binaryPrefix(Number) for the specified locale. |
static String |
Humanize.camelize(String text,
Locale locale)
Same as
Humanize.camelize(String) for the specified locale. |
static String |
Humanize.capitalize(String text,
Locale locale)
Same as
Humanize.capitalize(String) for the specified locale. |
static String |
Humanize.decamelize(String words)
Same as
Humanize.decamelize(String String) defaulting to SPACE for
replacement
|
static String |
Humanize.metricPrefix(Number value,
Locale locale)
Same as
Humanize.metricPrefix(Number) for the specified locale. |
static String |
Humanize.nanoTime(Number value,
Locale locale)
Same as
Humanize.nanoTime(Number) for the specified locale. |
static String |
Humanize.naturalDay(Date then,
Locale locale)
Same as
Humanize.naturalDay(Date) with the given locale. |
static String |
Humanize.naturalTime(Date duration,
Locale locale)
Same as
Humanize.naturalTime(Date) for the specified locale. |
static String |
Humanize.ordinal(Number value,
Locale locale)
Same as
Humanize.ordinal(Number) for the specified locale. |
static String |
Humanize.oxford(Collection<?> items,
Locale locale)
Same as
Humanize.oxford(Object[]) for the specified locale. |
static String |
Humanize.replaceSupplementary(String value)
Replaces characters outside the Basic Multilingual Plane with their name.
|
static String |
Humanize.simplify(String text)
Sort of poor man's transliteration, i.e. normalizes and strips
diacritical marks.
|
static String |
Humanize.slugify(String text) |
static String |
Humanize.spellBigNumber(Number value,
Locale locale)
Same as
Humanize.spellBigNumber(Number) for the specified locale. |
static String |
Humanize.spellDigit(Number value,
Locale locale)
Same as
Humanize.spellDigit(Number) for the specified locale. |
static String |
Humanize.times(Number num,
Locale locale)
Same as
Humanize.times(Number) for the specified locale. |
static String |
Humanize.titleize(String text)
Converts the given text to title case smartly.
|
static String |
Humanize.underscore(String text)
Makes a phrase underscored instead of spaced.
|
static String |
Humanize.unidecode(String text)
Simple, just enough, unicode to ascii transliteration.
|
Copyright © 2015. All Rights Reserved.