org.gcube.portlets.user.td.openwidget.client.util
Class Format

java.lang.Object
  extended by org.gcube.portlets.user.td.openwidget.client.util.Format

public class Format
extends Object

Author:
"Giancarlo Panichi" g.panichi@isti.cnr.it

Constructor Summary
Format()
           
 
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
 

Constructor Detail

Format

public Format()
Method Detail

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.