| Package | Description |
|---|---|
| org.kuali.common.util |
| Modifier and Type | Method and Description |
|---|---|
static Size |
FormatUtils.getSizeEnum(double bytes) |
static Size |
Size.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Size[] |
Size.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
FormatUtils.getFormattedSize(long bytes,
Size size) |
static String |
FormatUtils.getIntegerSize(long bytes,
Size unitOfMeasure)
Given a number of bytes return a string formatted into the unit of measure indicated
|
static String |
FormatUtils.getSize(long bytes,
Size unitOfMeasure)
Given a number of bytes return a string formatted into the unit of measure indicated
|
static String |
FormatUtils.getSize(long bytes,
Size unitOfMeasure,
NumberFormat formatter)
Given a number of bytes return a string formatted into the unit of measure indicated
|
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.