SourceForge.net Logo

Requirement: properties.conversion

Properties support the following conversion table. The marked cases must be supported. The unmarked cases must throw the JMS MessageFormatException.
The String to numeric conversions must throw the java.lang.NumberFormatException if the numeric's valueOf() method does not accept the String value as a valid representation. A value set as the row type can be read as the column type.
 booleanbyteshortintlongfloatdoubleString
boolean X        X
byte  X X X X    X
short   X X X    X
int    X X    X
long     X    X
float      X X X
double       X X
String X X X X X X X X

See:

  • Section 3.5.4, Property Value Conversion
  • Table 3-2