net.rim.device.api.io.parser.json
Class JSONHashtableMessageProcessor
java.lang.Object
net.rim.device.api.io.parser.json.JSONHashtableMessageProcessor
- All Implemented Interfaces:
- MessageProcessor
public class JSONHashtableMessageProcessor
- extends Object
- implements MessageProcessor
MessageProcessor implementation that builds a JSONHashtable
from a Message, and then updates the
Object representation of the message body with that object.
- Since:
- BlackBerry API 6.0.0
JSONHashtableMessageProcessor
public JSONHashtableMessageProcessor()
- Constructs an
JSONHashtableMessageProcessor.
- Since:
- BlackBerry API 6.0.0
process
public void process(Message message)
throws MessageProcessorException
- Processes a
Message and builds a
JSONHashtable using the data in the message body. Updates the
message body with this new object.
- Specified by:
process in interface MessageProcessor
- Parameters:
message - The Message to process.
- Throws:
MessageProcessorException - If there is a problem parsing the message body.- Since:
- BlackBerry API 6.0.0
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal