Java android.text.format Formatter fields, constructors, methods, implement or subclass

Example usage for Java android.text.format Formatter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.text.format Formatter.

The text is from its open source code.

Method

StringformatFileSize(@Nullable Context context, long sizeBytes)
Formats a content size to be in the form of bytes, kilobytes, megabytes, etc.
StringformatIpAddress(int ipv4Address)
Returns a string in the canonical IPv4 format ###.###.###.### from a packed integer containing the IP address.
StringformatShortFileSize(@Nullable Context context, long sizeBytes)
Like #formatFileSize , but trying to generate shorter numbers (showing fewer digits of precision).