public class ByteUnitTool extends Object
| Constructor and Description |
|---|
ByteUnitTool() |
| Modifier and Type | Method and Description |
|---|---|
static String |
byteCountToDisplaySize(long sizeInBytes) |
static String |
byteCountToDisplaySize(long sizeInBytes,
ByteUnitType.ByteUnitSystem byteUnitSystem) |
public static String byteCountToDisplaySize(long sizeInBytes)
public static String byteCountToDisplaySize(long sizeInBytes, ByteUnitType.ByteUnitSystem byteUnitSystem)
Copyright © 2009–2021. All rights reserved.