org.gcube.portlets.user.td.openwidget.client.util
Class Format
java.lang.Object
org.gcube.portlets.user.td.openwidget.client.util.Format
public class Format
- extends Object
- Author:
- "Giancarlo Panichi"
g.panichi@isti.cnr.it
|
Method Summary |
static String |
fileSize(long size)
Converts a file size into a String representation adding the misure unit. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Format
public Format()
fileSize
public static String fileSize(long size)
- Converts a file size into a
String representation adding the misure unit.
- Parameters:
size - the file size.
- Returns:
- the textual representation.
Copyright © 2013. All Rights Reserved.