com.jgoodies.jdiskreport.model.util
Class Formats
java.lang.Object
com.jgoodies.jdiskreport.model.util.Formats
public final class Formats
- extends Object
Consists only of static methods that format model values.
- Version:
- $Revision: 1.9 $
- Author:
- Karsten Lentzsch
- See Also:
Format
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KILOBYTE_FORMAT
public static final Format KILOBYTE_FORMAT
FILE_COUNT_FORMAT
public static final Format FILE_COUNT_FORMAT
COUNT_FORMAT_LONG
public static final Format COUNT_FORMAT_LONG
formatDate
public static String formatDate(long modified)
formatDateAndTime
public static String formatDateAndTime(Long modified)
formatPercent
public static String formatPercent(float value)
formatSize
public static String formatSize(long size)
formatSizeForCell
public static String formatSizeForCell(Long size)
formatCount
public static String formatCount(long count)
formatCountForCell
public static String formatCountForCell(Long count)
Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.