|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.util.units.SimpleFormatter
org.hyperic.util.units.PercentageFormatter
org.hyperic.util.units.PercentFormatter
public class PercentFormatter
| Constructor Summary | |
|---|---|
PercentFormatter()
|
|
| Method Summary | |
|---|---|
protected double |
getMultiplier()
|
protected int |
getUnitType()
|
UnitNumber |
parse(java.lang.String val,
java.util.Locale locale,
ParseSpecifics specifics)
Parse a string into a UnitNumber. |
| Methods inherited from class org.hyperic.util.units.PercentageFormatter |
|---|
formatNumber, formatSame, getUnitScale |
| Methods inherited from class org.hyperic.util.units.SimpleFormatter |
|---|
format, getBaseValue, getNumberFormat, getScaledValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PercentFormatter()
| Method Detail |
|---|
protected double getMultiplier()
getMultiplier in class PercentageFormatterprotected int getUnitType()
getUnitType in class PercentageFormatter
public UnitNumber parse(java.lang.String val,
java.util.Locale locale,
ParseSpecifics specifics)
throws java.text.ParseException
Formatter
parse in interface Formatterparse in class PercentageFormatterval - Value to parselocale - Locale to parse withspecifics - An optional argument which gives the parser
more information about parsing
java.text.ParseException
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||