com.atlassian.crowd.core.tiny
Class FileSize
java.lang.Object
com.atlassian.crowd.core.tiny.FileSize
public class FileSize
- extends Object
A class that contains utility methods for formatting the size of files into human
readable form.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSize
public FileSize()
format
public static String format(Long filesize)
- Convenience method. Calls format(long filesize).
- Parameters:
filesize - The size of the file in bytes.
- Returns:
- The size in human readable form.
- See Also:
format(long)
Copyright © 2016 Atlassian. All Rights Reserved.