public class FileUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
readableFileSize(long size)
Given the size of a file outputs as human readable size using SI prefix.
|
public static String readableFileSize(long size)
size
- Size in bytes of a given File.Copyright © 2015 CrafterCMS. All Rights Reserved.