Formatter

Class of android.text.format · Formatter.java · Android's reference

public final class Formatter

Sizes of files, in units of 1000 bytes.

Constructors

public Formatter() empty body source

Methods

public static String formatFileSize(Context context, long sizeBytes) source
public static String formatShortFileSize(Context context, long sizeBytes) source
public static String formatIpAddress(int ipv4Address) deprecated source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.