|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.atlassian.core.util.FileSize
A class that contains utility methods for formatting the size of files into human readable form.
| Constructor Summary | |
FileSize()
|
|
| Method Summary | |
static java.lang.String |
format(long filesize)
Format the size of a file in human readable form. |
static java.lang.String |
format(java.lang.Long filesize)
Convenience method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileSize()
| Method Detail |
public static java.lang.String format(java.lang.Long filesize)
filesize - The size of the file in bytes.
format(long)public static java.lang.String format(long filesize)
eg.
filesize - The size of the file in bytes.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||