A B C D E F G H I K L M N O P R S T U V W 

A

addRange(int, int) - Method in class humanize.text.util.UnicodeInterpolator
 
addRange(Range<Integer>) - Method in class humanize.text.util.UnicodeInterpolator
 
applyPattern(String) - Method in class humanize.text.ExtendedMessageFormat
Apply the specified pattern.
approximateDuration(Date) - Method in class humanize.time.PrettyTimeFormat
 

B

begin(String) - Static method in class humanize.util.Parameters.PaceParameters
Builder method.
begin(String) - Static method in class humanize.util.Parameters.PluralizeParams
Builder method.
begin() - Static method in class humanize.util.Parameters.SlugifyParams
Builder method.
bigDecExponents - Static variable in class humanize.util.Constants
 
binaryPrefix(Number) - Static method in class humanize.Humanize
Converts a given number to a string preceded by the corresponding binary International System of Units (SI) prefix.
binaryPrefix(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.binaryPrefix(Number) for the specified locale.
binPrefixes - Static variable in class humanize.util.Constants
 

C

CACHE_BUILDER_SPEC - Static variable in class humanize.config.ConfigLoader
 
CacheProvider - Interface in humanize.spi.cache
Facade to access resource caches.
calculateDuration(Date, Date, List<TimeUnit>) - Static method in class humanize.time.DurationHelper
 
calculateDuration(long, List<TimeUnit>) - Static method in class humanize.time.DurationHelper
 
calculatePreciseDuration(Date, Date, List<TimeUnit>) - Static method in class humanize.time.DurationHelper
 
calculatePreciseDuration(Date) - Method in class humanize.time.PrettyTimeFormat
 
camelize(String) - Static method in class humanize.Humanize
Same as Humanize.camelize(String, boolean) with capitalize to false.
camelize(String, boolean) - Static method in class humanize.Humanize
Makes a phrase camel case.
camelize(String, boolean, Locale) - Static method in class humanize.Humanize
Same as Humanize.camelize(String, boolean) for the specified locale.
camelize(String, Locale) - Static method in class humanize.Humanize
Same as Humanize.camelize(String) for the specified locale.
capitalize(String) - Static method in class humanize.Humanize
Capitalizes the given text smartly.
capitalize(String, Locale) - Static method in class humanize.Humanize
Same as Humanize.capitalize(String) for the specified locale.
checkArguments() - Method in class humanize.util.Parameters.PaceParameters
 
clearUnits() - Method in class humanize.time.PrettyTimeFormat
 
COMB_DIACRITICAL - Static variable in class humanize.util.Constants
 
commaJoiner - Static variable in class humanize.util.Constants
 
ConfigLoader - Class in humanize.config
 
ConfigLoader() - Constructor for class humanize.config.ConfigLoader
 
Constants - Class in humanize.util
Humanize constants
Constants() - Constructor for class humanize.util.Constants
 
Constants.TimeStyle - Enum in humanize.util
 
containsBundle(Locale) - Method in interface humanize.spi.cache.CacheProvider
 
containsBundle(Locale) - Method in class humanize.spi.cache.GuavaCacheProvider
 
containsFormat(String, Locale) - Method in interface humanize.spi.cache.CacheProvider
 
containsFormat(String, Locale) - Method in class humanize.spi.cache.GuavaCacheProvider
 
containsStrings(String, Locale) - Method in interface humanize.spi.cache.CacheProvider
 
containsStrings(String, Locale) - Method in class humanize.spi.cache.GuavaCacheProvider
 
Context - Interface in humanize.spi.context
 
ContextFactory - Interface in humanize.spi.context
 
createContext() - Method in interface humanize.spi.context.ContextFactory
 
createContext() - Method in class humanize.spi.context.DefaultContextFactory
 

D

dateFormat(String) - Static method in class humanize.Humanize
Returns a SimpleDateFormat instance for the current thread.
dateFormat(String, Locale) - Static method in class humanize.Humanize
Same as Humanize.dateFormat(String) for the specified locale.
decamelize(String) - Static method in class humanize.Humanize
Same as Humanize.decamelize(String String) defaulting to SPACE for replacement
decamelize(String, String) - Static method in class humanize.Humanize
Converts a camel case string into a human-readable name.
decimalFormat(String) - Static method in class humanize.Humanize
Returns a DecimalFormat instance for the current thread.
decimalFormat(String, Locale) - Static method in class humanize.Humanize
Same as Humanize.decimalFormat(String) for the specified locale.
DEFAULT_SLUG_SEPARATOR - Static variable in class humanize.util.Constants
 
DefaultContext - Class in humanize.spi.context
Default implementation of Context.
DefaultContext() - Constructor for class humanize.spi.context.DefaultContext
 
DefaultContext(Locale) - Constructor for class humanize.spi.context.DefaultContext
 
DefaultContextFactory - Class in humanize.spi.context
Default implementation of ContextFactory.
DefaultContextFactory() - Constructor for class humanize.spi.context.DefaultContextFactory
 
digitStrings(int) - Method in interface humanize.spi.context.Context
 
digitStrings(int) - Method in class humanize.spi.context.DefaultContext
 
duration(Number) - Static method in class humanize.Humanize
Formats a number of seconds as hours, minutes and seconds.
duration(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.duration(Number) for the specified locale.
duration(Number, Constants.TimeStyle) - Static method in class humanize.Humanize
Formats a number of seconds as hours, minutes and seconds.
duration(Number, Constants.TimeStyle, Locale) - Static method in class humanize.Humanize
Same as #duration(Number, TimeStyle) for the specified locale.
DurationHelper - Class in humanize.time
Helper to create Durations outside PrettyTime.
DurationHelper() - Constructor for class humanize.time.DurationHelper
 

E

EMPTY - Static variable in class humanize.time.Pace
 
EMPTY - Static variable in class humanize.util.Constants
 
equals(Object) - Method in class humanize.text.ExtendedMessageFormat
 
escape(int) - Method in class humanize.text.util.UnicodeInterpolator
 
Expose - Annotation Type in humanize.spi
Marks a method to be exposed as HumanizeFormatProvider.HumanizeFormat.
ExtendedMessageFormat - Class in humanize.text
Extends java.text.MessageFormat to allow pluggable/additional formatting options for embedded format elements.
ExtendedMessageFormat(String) - Constructor for class humanize.text.ExtendedMessageFormat
Create a new ExtendedMessageFormat for the default locale.
ExtendedMessageFormat(String, Locale) - Constructor for class humanize.text.ExtendedMessageFormat
Create a new ExtendedMessageFormat.
ExtendedMessageFormat(String, Locale, Map<String, ? extends FormatFactory>) - Constructor for class humanize.text.ExtendedMessageFormat
Create a new ExtendedMessageFormat.
ExtendedMessageFormat(String, Map<String, ? extends FormatFactory>) - Constructor for class humanize.text.ExtendedMessageFormat
Create a new ExtendedMessageFormat for the default locale.
exts(Object...) - Method in class humanize.util.Parameters.PaceParameters
 
exts - Variable in class humanize.util.Parameters.PluralizeParams
Extended parameters for the specified formats
exts(Object...) - Method in class humanize.util.Parameters.PluralizeParams
 

F

factory() - Static method in class humanize.text.HumanizeFormatProvider
 
factory() - Static method in class humanize.text.MaskFormat
 
factory() - Static method in class humanize.time.PrettyTimeFormat
 
fixLength(String, int, char) - Static method in class humanize.Humanize
Pads or truncates a string to a specified length.
fixLength(String, int, char, boolean) - Static method in class humanize.Humanize
Pads or truncates a string to a specified length.
format(Locale, String, Object...) - Static method in class humanize.Humanize
Same as Humanize.format(String, Object...) for the specified locale.
format(String, Object...) - Static method in class humanize.Humanize
Gets an ExtendedMessageFormat instance for the current thread with the given pattern and uses it to format a message with the specified arguments.
format(Object, StringBuffer, FieldPosition) - Method in class humanize.text.HumanizeFormatProvider.HumanizeFormat
 
format(String, String) - Static method in class humanize.text.MaskFormat
 
format(String, String, char) - Static method in class humanize.text.MaskFormat
 
format(Object, StringBuffer, FieldPosition) - Method in class humanize.text.MaskFormat
 
format(String) - Method in class humanize.text.MaskFormat
 
format(Date, Date) - Method in class humanize.time.PrettyTimeFormat
Convenience format method.
format(Date, Date, long) - Method in class humanize.time.PrettyTimeFormat
Convenience format method for precise durations.
format(Duration) - Method in class humanize.time.PrettyTimeFormat
 
format(List<Duration>) - Method in class humanize.time.PrettyTimeFormat
 
format(Object, StringBuffer, FieldPosition) - Method in class humanize.time.PrettyTimeFormat
 
format(DefaultContext, boolean, int, int, int) - Method in enum humanize.util.Constants.TimeStyle
 
formatCurrency(Number) - Static method in class humanize.Humanize
Smartly formats the given number as a monetary amount.
formatCurrency(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.formatCurrency(Number) for the specified locale.
formatDate(Date) - Static method in class humanize.Humanize
Same as Humanize.formatDate(int, Date) with SHORT style.
formatDate(Date, Locale) - Static method in class humanize.Humanize
Same as Humanize.formatDate(Date) for the specified locale.
formatDate(Date, String) - Static method in class humanize.Humanize
Formats a date according to the given pattern.
formatDate(Date, String, Locale) - Static method in class humanize.Humanize
Same as Humanize.formatDate(Date, String) for the specified locale.
formatDate(int, Date) - Static method in class humanize.Humanize
Formats the given date with the specified style.
formatDate(int, Date, Locale) - Static method in class humanize.Humanize
Same as Humanize.formatDate(int, Date) for the specified locale.
formatDate(int, Date) - Method in interface humanize.spi.context.Context
 
formatDate(int, Date) - Method in class humanize.spi.context.DefaultContext
 
formatDateTime(Date) - Static method in class humanize.Humanize
Formats the given date/time with SHORT style.
formatDateTime(Date, Locale) - Static method in class humanize.Humanize
Same as Humanize.formatDateTime(Date) for the specified locale.
formatDateTime(int, int, Date) - Static method in class humanize.Humanize
Formats the given date/time with the specified styles.
formatDateTime(int, int, Date, Locale) - Static method in class humanize.Humanize
Same as Humanize.formatDateTime(int, int, Date) for the specified locale.
formatDateTime(Date) - Method in interface humanize.spi.context.Context
 
formatDateTime(int, int, Date) - Method in interface humanize.spi.context.Context
 
formatDateTime(Date) - Method in class humanize.spi.context.DefaultContext
 
formatDateTime(int, int, Date) - Method in class humanize.spi.context.DefaultContext
 
formatDecimal(Number) - Static method in class humanize.Humanize
Formats the given number to the standard decimal format for the default locale.
formatDecimal(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.formatDecimal(Number) for the specified locale.
formatDecimal(Number) - Method in interface humanize.spi.context.Context
 
formatDecimal(Number) - Method in class humanize.spi.context.DefaultContext
 
FormatFactory - Interface in humanize.text
Format factory interface.
formatMessage(String, Object...) - Method in interface humanize.spi.context.Context
 
formatMessage(String, Object...) - Method in class humanize.spi.context.DefaultContext
 
formatPercent(Number) - Static method in class humanize.Humanize
Formats the given ratio as a percentage.
formatPercent(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.formatPercent(Number) for the specified locale.
FormatProvider - Interface in humanize.spi
Contract for contributing a Format implementation to the ExtendedMessageFormat registry.
formatRelativeDate(Date, Date) - Method in class humanize.spi.context.DefaultContext
 
formatRelativeDate(Date, Date, long) - Method in class humanize.spi.context.DefaultContext
 
formatRelativeDate(Date, Date) - Method in interface humanize.spi.context.StandardContext
 
formatRelativeDate(Date, Date, long) - Method in interface humanize.spi.context.StandardContext
 
formatUnrounded(Date) - Method in class humanize.time.PrettyTimeFormat
 
formatUnrounded(Duration) - Method in class humanize.time.PrettyTimeFormat
 

G

getAccuracy() - Method in class humanize.time.Pace
 
getBundle(Locale, Callable<ResourceBundle>) - Method in interface humanize.spi.cache.CacheProvider
 
getBundle(Locale, Callable<ResourceBundle>) - Method in class humanize.spi.cache.GuavaCacheProvider
 
getBundle() - Method in interface humanize.spi.context.Context
 
getBundle() - Method in class humanize.spi.context.DefaultContext
 
getCurrencyFormat() - Method in class humanize.spi.context.DefaultContext
 
getCurrencyFormat() - Method in interface humanize.spi.context.StandardContext
 
getDateFormat(int) - Method in class humanize.spi.context.DefaultContext
 
getDateFormat(String) - Method in class humanize.spi.context.DefaultContext
 
getDateFormat(int) - Method in interface humanize.spi.context.StandardContext
 
getDateFormat(String) - Method in interface humanize.spi.context.StandardContext
 
getDateTimeFormat() - Method in class humanize.spi.context.DefaultContext
 
getDateTimeFormat(int, int) - Method in class humanize.spi.context.DefaultContext
 
getDateTimeFormat() - Method in interface humanize.spi.context.StandardContext
 
getDateTimeFormat(int, int) - Method in interface humanize.spi.context.StandardContext
 
getDecimalFormat() - Method in class humanize.spi.context.DefaultContext
 
getDecimalFormat() - Method in interface humanize.spi.context.StandardContext
 
getFactory() - Method in interface humanize.spi.FormatProvider
Gets the format factory.
getFactory() - Method in class humanize.text.HumanizeFormatProvider
 
getFactory() - Method in class humanize.text.MaskFormat
 
getFactory() - Method in class humanize.time.PrettyTimeFormat
 
getFormat(String, Locale, Callable<T>) - Method in interface humanize.spi.cache.CacheProvider
 
getFormat(String, Locale, Callable<T>) - Method in class humanize.spi.cache.GuavaCacheProvider
 
getFormat(String, String, Locale) - Method in interface humanize.text.FormatFactory
Creates a Format instance for the given parameters.
getFormat(TimeUnit) - Method in class humanize.time.PrettyTimeFormat
 
getFormatName() - Method in interface humanize.spi.FormatProvider
Gets the format name that will be registered.
getFormatName() - Method in class humanize.text.HumanizeFormatProvider
 
getFormatName() - Method in class humanize.text.MaskFormat
 
getFormatName() - Method in class humanize.time.PrettyTimeFormat
 
getLocale() - Method in interface humanize.spi.context.Context
 
getLocale() - Method in class humanize.spi.context.DefaultContext
 
getMask() - Method in class humanize.text.MaskFormat
 
getMaskFormat() - Method in interface humanize.spi.context.Context
 
getMaskFormat() - Method in class humanize.spi.context.DefaultContext
 
getMessage(String) - Method in interface humanize.spi.context.Context
 
getMessage(String) - Method in class humanize.spi.context.DefaultContext
 
getMessageFormat() - Method in class humanize.spi.context.DefaultContext
 
getMessageFormat() - Method in interface humanize.spi.context.StandardContext
 
getNumberFormat() - Method in class humanize.spi.context.DefaultContext
 
getNumberFormat() - Method in interface humanize.spi.context.StandardContext
 
getPercentFormat() - Method in class humanize.spi.context.DefaultContext
 
getPercentFormat() - Method in interface humanize.spi.context.StandardContext
 
getPlaceholder() - Method in class humanize.text.MaskFormat
 
getPrettyTime() - Method in class humanize.time.PrettyTimeFormat
Gets the underlying PrettyTime instance.
getPrettyTimeFormat() - Method in class humanize.spi.context.DefaultContext
 
getPrettyTimeFormat() - Method in interface humanize.spi.context.StandardContext
 
getStringByIndex(String, int) - Method in class humanize.spi.context.DefaultContext
 
getStringList(String) - Method in class humanize.spi.context.DefaultContext
 
getStrings(String, Locale, Callable<String[]>) - Method in interface humanize.spi.cache.CacheProvider
 
getStrings(String, Locale, Callable<String[]>) - Method in class humanize.spi.cache.GuavaCacheProvider
 
getStrings(String) - Method in class humanize.spi.context.DefaultContext
 
getTimeUnit() - Method in class humanize.time.Pace
 
getUnits() - Method in class humanize.time.PrettyTimeFormat
 
getValue() - Method in class humanize.time.Pace
 
GuavaCacheProvider - Class in humanize.spi.cache
CacheProvider implementation that uses Guava caches as in memory storage.
GuavaCacheProvider() - Constructor for class humanize.spi.cache.GuavaCacheProvider
 

H

hashCode() - Method in class humanize.text.ExtendedMessageFormat
Return the hashcode.
humanize - package humanize
Humanize main classes.
Humanize - Class in humanize
Facility for adding a "human touch" to data.
humanize.config - package humanize.config
Configuration classes.
humanize.spi - package humanize.spi
Service providers common classes.
humanize.spi.cache - package humanize.spi.cache
Cache providers.
humanize.spi.context - package humanize.spi.context
Context providers.
humanize.text - package humanize.text
Text formatting and interpolation.
humanize.text.util - package humanize.text.util
Text helpers.
humanize.time - package humanize.time
Date and time related classes.
humanize.util - package humanize.util
Utility classes.
HumanizeFormatProvider - Class in humanize.text
Exposes as Formats all the methods annotated with Expose of Humanize class.
HumanizeFormatProvider() - Constructor for class humanize.text.HumanizeFormatProvider
 
HumanizeFormatProvider.HumanizeFormat - Class in humanize.text
 
HumanizeFormatProvider.HumanizeFormat(Method, Locale) - Constructor for class humanize.text.HumanizeFormatProvider.HumanizeFormat
 
HYPEN_SPACE - Static variable in class humanize.util.Constants
 

I

interpolate(String, Pattern, Replacer) - Static method in class humanize.text.util.InterpolationHelper
 
InterpolationHelper - Class in humanize.text.util
Helper for text interpolation.
InterpolationHelper() - Constructor for class humanize.text.util.InterpolationHelper
 
interval - Variable in class humanize.util.Parameters.PaceParameters
The interval of the pace in milliseconds.
interval(long) - Method in class humanize.util.Parameters.PaceParameters
 
interval(TimeMillis) - Method in class humanize.util.Parameters.PaceParameters
 
isToLowerCase - Variable in class humanize.util.Parameters.SlugifyParams
Controls the transformation to lowercase

K

key() - Method in enum humanize.time.TimeMillis
 

L

loadProperties() - Static method in class humanize.config.ConfigLoader
 
loadProperties(String) - Static method in class humanize.config.ConfigLoader
 
locateConfig(String) - Static method in class humanize.config.ConfigLoader
 
lossyEquals(Locale, String, String) - Static method in class humanize.Humanize
Same as Humanize.lossyEquals(String, String) for the specified locale.
lossyEquals(String, String) - Static method in class humanize.Humanize
Locale-sensitive string comparison for primary differences.

M

many(String) - Method in class humanize.util.Parameters.PaceParameters
 
many - Variable in class humanize.util.Parameters.PluralizeParams
Format for many elements
many(String) - Method in class humanize.util.Parameters.PluralizeParams
 
mask(String, String) - Static method in class humanize.Humanize
Formats the given text with the mask specified.
maskFormat(String) - Static method in class humanize.Humanize
Returns a MaskFormat instance for the current thread.
MaskFormat - Class in humanize.text
MaskFormat is used to format and parse strings by the mean of a mask.
MaskFormat() - Constructor for class humanize.text.MaskFormat
 
MaskFormat(String) - Constructor for class humanize.text.MaskFormat
 
MaskFormat(String, char) - Constructor for class humanize.text.MaskFormat
 
messageFormat(String) - Static method in class humanize.Humanize
Returns a MessageFormat instance for the current thread.
messageFormat(String, Locale) - Static method in class humanize.Humanize
Same as Humanize.messageFormat(String) for the specified locale.
MessageFormat - Class in humanize.spi
MessageFormat(String) - Constructor for class humanize.spi.MessageFormat
 
MessageFormat(String, Locale) - Constructor for class humanize.spi.MessageFormat
 
MessageFormat(String, Locale, Map<String, ? extends FormatFactory>) - Constructor for class humanize.spi.MessageFormat
 
MessageFormat(String, Map<String, ? extends FormatFactory>) - Constructor for class humanize.spi.MessageFormat
 
metricPrefix(Number) - Static method in class humanize.Humanize
Converts a given number to a string preceded by the corresponding decimal multiplicative prefix.
metricPrefix(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.metricPrefix(Number) for the specified locale.
metricPrefixes - Static variable in class humanize.util.Constants
 
millis() - Method in enum humanize.time.TimeMillis
 

N

nanoTime(Number) - Static method in class humanize.Humanize
Formats a number of nanoseconds as the proper ten power unit.
nanoTime(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.nanoTime(Number) for the specified locale.
nanoTimePrefixes - Static variable in class humanize.util.Constants
 
naturalDay(Date) - Static method in class humanize.Humanize
Same as Humanize.naturalDay(int, Date) with DateFormat.SHORT style.
naturalDay(Date, Locale) - Static method in class humanize.Humanize
Same as Humanize.naturalDay(Date) with the given locale.
naturalDay(int, Date) - Static method in class humanize.Humanize
For dates that are the current day or within one day, return 'today', 'tomorrow' or 'yesterday', as appropriate.
naturalDay(int, Date, Locale) - Static method in class humanize.Humanize
Same as Humanize.naturalDay(int, Date) with the given locale.
naturalTime(Date) - Static method in class humanize.Humanize
Same as Humanize.naturalTime(Date, Date) with current date as reference.
naturalTime(Date, Date) - Static method in class humanize.Humanize
Computes both past and future relative dates.
naturalTime(Date, Date, Locale) - Static method in class humanize.Humanize
Same as Humanize.naturalTime(Date, Date) for the specified locale.
naturalTime(Date, Date, long) - Static method in class humanize.Humanize
Computes both past and future relative dates with arbitrary precision.
naturalTime(Date, Date, long, Locale) - Static method in class humanize.Humanize
Same as Humanize.naturalTime(Date, Date, long) for the specified locale.
naturalTime(Date, Date, TimeMillis) - Static method in class humanize.Humanize
naturalTime(Date, Date, TimeMillis, Locale) - Static method in class humanize.Humanize
naturalTime(Date, Locale) - Static method in class humanize.Humanize
Same as Humanize.naturalTime(Date) for the specified locale.
naturalTime(Date, long) - Static method in class humanize.Humanize
Same as Humanize.naturalTime(Date, Date, long) with current date as reference.
naturalTime(Date, long, Locale) - Static method in class humanize.Humanize
Same as Humanize.naturalTime(Date, long) for the specified locale.
naturalTime(Date, TimeMillis) - Static method in class humanize.Humanize
naturalTime(Date, TimeMillis, Locale) - Static method in class humanize.Humanize
ND_FACTOR - Static variable in class humanize.util.Constants
 
newBundle(String, Locale, String, ClassLoader, boolean) - Method in class humanize.util.UTF8Control
 
none(String) - Method in class humanize.util.Parameters.PaceParameters
 
none - Variable in class humanize.util.Parameters.PluralizeParams
Format for no element
none(String) - Method in class humanize.util.Parameters.PluralizeParams
 
NOT_IN_BMP - Static variable in class humanize.util.Constants
 

O

one(String) - Method in class humanize.util.Parameters.PaceParameters
 
one - Variable in class humanize.util.Parameters.PluralizeParams
Format for a single element
one(String) - Method in class humanize.util.Parameters.PluralizeParams
 
ONLY_SLUG_CHARS - Static variable in class humanize.util.Constants
 
ordinal(Number) - Static method in class humanize.Humanize
Converts a number to its ordinal as a string.
ordinal(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.ordinal(Number) for the specified locale.
ORDINAL_FMT - Static variable in class humanize.util.Constants
 
ordinalSuffix(int) - Method in class humanize.spi.context.DefaultContext
 
ordinalSuffix(int) - Method in interface humanize.spi.context.StandardContext
 
oxford(Collection<?>) - Static method in class humanize.Humanize
Converts a list of items to a human readable string.
oxford(Collection<?>, int, String) - Static method in class humanize.Humanize
Converts a list of items to a human readable string with an optional limit.
oxford(Collection<?>, Locale) - Static method in class humanize.Humanize
Same as Humanize.oxford(Object[]) for the specified locale.
oxford(Object[]) - Static method in class humanize.Humanize
Converts a list of items to a human readable string.
oxford(Object[], int, String) - Static method in class humanize.Humanize
Converts a list of items to a human readable string with an optional limit.
oxford(Object[], int, String, Locale) - Static method in class humanize.Humanize
Same as Humanize.oxford(Object[], int, String) for the specified locale.
oxford(Object[], Locale) - Static method in class humanize.Humanize
Same as Humanize.oxford(Object[]) for the specified locale.

P

pace(Number, long) - Static method in class humanize.Humanize
Matches a pace (value and interval) with a logical time frame.
pace(Number, TimeMillis) - Static method in class humanize.Humanize
Pace - Class in humanize.time
Holds the properties required to produce human friendly textual representations of pace quantities.
Pace(long, Pace.Accuracy, TimeMillis) - Constructor for class humanize.time.Pace
 
Pace.Accuracy - Enum in humanize.time
 
paceFormat(Locale, Number, long) - Static method in class humanize.Humanize
Same as Humanize.paceFormat(Number, long) for a target locale.
paceFormat(Locale, Number, Parameters.PaceParameters) - Static method in class humanize.Humanize
Same as #paceFormat(Number, long, String, String, String) for a target locale.
paceFormat(Number, long) - Static method in class humanize.Humanize
Matches a pace (value and interval) with a logical time frame.
paceFormat(Number, Parameters.PaceParameters) - Static method in class humanize.Humanize
Matches a pace (value and interval) with a logical time frame.
paceFormat(Number, TimeMillis) - Static method in class humanize.Humanize
Parameters - Class in humanize.util
Parameterization classes collection.
Parameters.PaceParameters - Class in humanize.util
Pace format parameters.
Parameters.PluralizeParams - Class in humanize.util
Parameterization for pluralize calls.
Parameters.SlugifyParams - Class in humanize.util
Parameterization for slugify calls.
parse(String, String) - Static method in class humanize.text.MaskFormat
 
parse(String, String, char) - Static method in class humanize.text.MaskFormat
 
parse(String) - Method in class humanize.text.MaskFormat
 
parse(String, ParsePosition) - Method in class humanize.text.MaskFormat
 
parseBase64(String) - Static method in class humanize.Humanize
Converts the string argument into an array of bytes.
parseISODate(String) - Static method in class humanize.Humanize
Converts the string argumento into a Date value.
parseISODateTime(String) - Static method in class humanize.Humanize
Converts the string argumento into a Date value.
parseISOTime(String) - Static method in class humanize.Humanize
Converts the string argumento into a Date value.
parseObject(String, ParsePosition) - Method in class humanize.text.HumanizeFormatProvider.HumanizeFormat
 
parseObject(String) - Method in class humanize.text.MaskFormat
 
parseObject(String, ParsePosition) - Method in class humanize.text.MaskFormat
 
parseObject(String, ParsePosition) - Method in class humanize.time.PrettyTimeFormat
 
parseSmartDate(String, String...) - Static method in class humanize.Humanize
parseSmartDateWithSeparator(String, String, String...) - Static method in class humanize.Humanize
Tries to parse a date string applying an array of non lenient format patterns.
plural - Variable in class humanize.util.Parameters.PaceParameters
Pluralization formats
plural(Parameters.PluralizeParams) - Method in class humanize.util.Parameters.PaceParameters
 
pluralize(Locale, Number, Parameters.PluralizeParams) - Static method in class humanize.Humanize
Same as #pluralize(Number, PluralizeParams) for the target locale.
pluralize(Number, Parameters.PluralizeParams) - Static method in class humanize.Humanize
Applies the proper format for a given plural state.
pluralize(String, String, String, Number, Object...) - Static method in class humanize.Humanize
Signature for the main use case of #pluralize(Number, PluralizeParams).
pluralizeFormat(String) - Static method in class humanize.Humanize
Constructs a message with pluralization logic from the given template.
pluralizeFormat(String, Locale) - Static method in class humanize.Humanize
Same as Humanize.pluralizeFormat(String) for the specified locale.
pluralizeFormat(String, String...) - Static method in class humanize.Humanize
Constructs a message with pluralization logic by the means of ChoiceFormat.
prettyTimeFormat() - Static method in class humanize.Humanize
Returns a thread-safe PrettyTimeFormat instance.
prettyTimeFormat(Locale) - Static method in class humanize.Humanize
Same as Humanize.prettyTimeFormat() for the specified locale.
PrettyTimeFormat - Class in humanize.time
Format implementation for PrettyTime.
PrettyTimeFormat() - Constructor for class humanize.time.PrettyTimeFormat
 
PrettyTimeFormat(Locale) - Constructor for class humanize.time.PrettyTimeFormat
 
PUNCTUATION - Static variable in class humanize.util.Constants
 
putBundle(Locale, ResourceBundle) - Method in interface humanize.spi.cache.CacheProvider
 
putBundle(Locale, ResourceBundle) - Method in class humanize.spi.cache.GuavaCacheProvider
 
putFormat(String, Locale, T) - Method in interface humanize.spi.cache.CacheProvider
 
putFormat(String, Locale, T) - Method in class humanize.spi.cache.GuavaCacheProvider
 
putStrings(String, Locale, String[]) - Method in interface humanize.spi.cache.CacheProvider
 
putStrings(String, Locale, String[]) - Method in class humanize.spi.cache.GuavaCacheProvider
 

R

registerUnit(TimeUnit, TimeFormat) - Method in class humanize.time.PrettyTimeFormat
 
render(Object...) - Method in class humanize.spi.MessageFormat
Formats the current pattern with the given arguments.
render(StringBuffer, Object...) - Method in class humanize.spi.MessageFormat
Formats the current pattern with the given arguments.
replace(String) - Method in interface humanize.text.util.Replacer
 
Replacer - Interface in humanize.text.util
Interface for text interpolation.
replaceSupplementary(String) - Static method in class humanize.Humanize
Replaces characters outside the Basic Multilingual Plane with their name.
replaceSupplementary(String, Replacer) - Static method in class humanize.text.util.InterpolationHelper
 
roundToSignificantFigures(Number, int) - Static method in class humanize.Humanize
Rounds a number to significant figures.

S

separator - Variable in class humanize.util.Parameters.SlugifyParams
Separator slug
separator(String) - Method in class humanize.util.Parameters.SlugifyParams
 
setFormat(int, Format) - Method in class humanize.text.ExtendedMessageFormat
setFormatByArgumentIndex(int, Format) - Method in class humanize.text.ExtendedMessageFormat
setFormats(Format[]) - Method in class humanize.text.ExtendedMessageFormat
setFormatsByArgumentIndex(Format[]) - Method in class humanize.text.ExtendedMessageFormat
setLocale(Locale) - Method in interface humanize.spi.context.Context
 
setLocale(Locale) - Method in class humanize.spi.context.DefaultContext
 
setMask(String) - Method in class humanize.text.MaskFormat
 
setPlaceholder(char) - Method in class humanize.text.MaskFormat
 
simplify(String) - Static method in class humanize.Humanize
Sort of poor man's transliteration, i.e. normalizes and strips diacritical marks.
slugify(String) - Static method in class humanize.Humanize
 
slugify(String, Parameters.SlugifyParams) - Static method in class humanize.Humanize
Transforms a text into a representation suitable to be used in an URL.
SPACE - Static variable in class humanize.util.Constants
 
spellBigNumber(Number) - Static method in class humanize.Humanize
Converts a big number to a friendly text representation.
spellBigNumber(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.spellBigNumber(Number) for the specified locale.
spellDigit(Number) - Static method in class humanize.Humanize
For decimal digits [0-9], returns the number spelled out.
spellDigit(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.spellDigit(Number) for the specified locale.
SPLIT_CAMEL - Static variable in class humanize.util.Constants
 
StandardContext - Interface in humanize.spi.context
 

T

THOUSAND - Static variable in class humanize.util.Constants
 
TimeMillis - Enum in humanize.time
 
times(Number) - Static method in class humanize.Humanize
Interprets numbers as occurrences.
times(Number, Locale) - Static method in class humanize.Humanize
Same as Humanize.times(Number) for the specified locale.
timeSuffix(int) - Method in class humanize.spi.context.DefaultContext
 
timeSuffix(int) - Method in interface humanize.spi.context.StandardContext
 
titleIgnoredWords - Static variable in class humanize.util.Constants
 
titleize(String) - Static method in class humanize.Humanize
Converts the given text to title case smartly.
titleize(String, String[]) - Static method in class humanize.Humanize
Converts the given text to title case smartly.
titleWordSperator - Static variable in class humanize.util.Constants
 
toLowerCase(boolean) - Method in class humanize.util.Parameters.SlugifyParams
 
toPattern() - Method in class humanize.text.ExtendedMessageFormat
toString() - Method in class humanize.time.Pace
 

U

underscore(String) - Static method in class humanize.Humanize
Makes a phrase underscored instead of spaced.
UnicodeInterpolator - Class in humanize.text.util
 
UnicodeInterpolator(Replacer) - Constructor for class humanize.text.util.UnicodeInterpolator
 
unidecode(String) - Static method in class humanize.Humanize
Simple, just enough, unicode to ascii transliteration.
unmask(String, String) - Static method in class humanize.Humanize
Parses the given text with the mask specified.
UTF8Control - Class in humanize.util
Custom ResourceBundle.Control with UTF8 support.
UTF8Control() - Constructor for class humanize.util.UTF8Control
 

V

valueOf(String) - Static method in enum humanize.time.Pace.Accuracy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum humanize.time.TimeMillis
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum humanize.util.Constants.TimeStyle
Returns the enum constant of this type with the specified name.
values() - Static method in enum humanize.time.Pace.Accuracy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum humanize.time.TimeMillis
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum humanize.util.Constants.TimeStyle
Returns an array containing the constants of this enum type, in the order they are declared.

W

wordWrap(String, int) - Static method in class humanize.Humanize
Truncate a string to the closest word boundary after a number of characters.
A B C D E F G H I K L M N O P R S T U V W 

Copyright © 2015. All Rights Reserved.