|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Conversion
A Conversion provides access to the unit symbol, html formatted symbol (used to show exponents correctly),
unit name and the conversion factor or formula.
| Method Summary | |
|---|---|
String |
getConversion()
Returns this Conversion's factor or formula used to convert from one set of units to another. |
String |
getFormattedUnitSymbol()
Returns the html formatted unit symbol (used to show exponents correctly) for this Conversion. |
String |
getUnitName()
Returns this symbol's name in unabbreviated words for this Conversion. |
String |
getUnitSymbol()
Returns the raw text unit symbol for this Conversion. |
void |
setUnitSeparator(String symbol)
Updates the unit separator symbol |
| Method Detail |
|---|
String getConversion()
Conversion's factor or formula used to convert from one set of units to another.
Conversion's factor or formula to perform the conversionString getUnitName()
Conversion.
String getUnitSymbol()
Conversion.
String getFormattedUnitSymbol()
Conversion.
void setUnitSeparator(String symbol)
symbol - the new unit separator symbol
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||