public final class UnitUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
printUnitFromBytes(long bytes)
If having a size in bytes and wanting to print this in human friendly\
format with xx kB, xx MB, xx GB instead of a large byte number.
|
public static String printUnitFromBytes(long bytes)
bytes
- the value in bytesCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.