|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.sdklib.util.FormatUtils
public abstract class FormatUtils
Helper methods to do some format conversions.
| Constructor Summary | |
|---|---|
FormatUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
byteSizeToString(long size)
Converts a byte size to a human readable string, for example "3 MiB", "1020 Bytes" or "1.2 GiB". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormatUtils()
| Method Detail |
|---|
@NonNull public static java.lang.String byteSizeToString(long size)
size - The byte size to convert.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||