In order to comply with Java 2 Platform Micro Edition's (J2ME)
Connected Limited Device Configuration(CLDC)/Mobile Information Device
Protocol (MIDP) specification several methods have been modified or removed
from MQeFields:
- The explicit use of the floating point types, float and double, have had
to be removed, for example you putFloat("Val1", -1.234). Under
java platforms that enable the use of float/double this functionality can be
mimicked by explicity converting the data into the equivalent int or long
using the base types Java Object convert method i.e. the above
method is replaced with
putFloatAsInt("Val1",Float.floatToIntBits(-1.234)).
- Note:
- Version 1 applications can retrieve these values as normal.
- Methods dumpToFile/restoreFromFile have been removed. Applications
that used these functions now have to dump the MQeFields object and write the
byte array to the specified file.
- Xor'ing of dumped data has also been removed due to changes made in
the 'C' code base.
© IBM Corporation 2002. All Rights Reserved