Package com.atlassian.crowd.core.tiny
Class FileSize
java.lang.Object
com.atlassian.crowd.core.tiny.FileSize
A class that contains utility methods for formatting the size of files into human
readable form.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FileSize
public FileSize()
-
-
Method Details
-
format
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)
-