public class RsFileUtils
extends FileUtils
Constructor and Description |
---|
RsFileUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
byteCountToDisplaySize(java.math.BigInteger fileSize)
Formats a file's size into a human readable format
|
static java.lang.String |
byteCountToDisplaySize(long fileSize)
Formats a file's size into a human readable format
|
public static java.lang.String byteCountToDisplaySize(java.math.BigInteger fileSize)
fileSize
- the file's size as BigIntegerpublic static java.lang.String byteCountToDisplaySize(long fileSize)
fileSize
- the file's size as long