Example usage for Java android.text.format Formatter fields, constructors, methods, implement or subclass
The text is from its open source code.
String | formatFileSize(@Nullable Context context, long sizeBytes) Formats a content size to be in the form of bytes, kilobytes, megabytes, etc. |
String | formatIpAddress(int ipv4Address) Returns a string in the canonical IPv4 format ###.###.###.### from a packed integer containing the IP address. |
String | formatShortFileSize(@Nullable Context context, long sizeBytes) Like #formatFileSize , but trying to generate shorter numbers (showing fewer digits of precision). |