java.lang.Object | |
↳ | humanize.text.HumanizeFormatProvider |
Exposes as HumanizeFormatProvider.HumanizeFormat
s all the methods annotated with Expose
of
Humanize
class.
Humanize.format("size {0, humanize, binary.prefix}", 8); // == "size 8 bytes"
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HumanizeFormatProvider.HumanizeFormat |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the format factory.
| |||||||||||
Gets the format name that will be registered.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
humanize.spi.FormatProvider
|
Gets the format name that will be registered. If you want to register multiple names for a format then return a String with the names concatenated by a vertical bar character '|'.