|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ora.jsp.util.TempConverter
This class contains a couple of static methods for converting between Fahrenheit and Celsius. The methods are mapped to el functions in the book examples TLD file.
Constructor Summary | |
TempConverter()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Main method to test the other methods. |
static double |
toCelsius(double fahrenheit)
|
static double |
toFahrenheit(double celsius)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TempConverter()
Method Detail |
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static double toCelsius(double fahrenheit)
public static double toFahrenheit(double celsius)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |