BBjspObjectSerializer (Deprecated)
The BBJSP system is deprecated. For new development, use BBxServlet.
Description
In BBj 16.0 and higher, this class comes as part of the BBJSP framework and provides a set of static utility methods for encoding and decoding objects and files. You can, for example, use these methods to encode images or other files for storage in a database.
Methods of BBjspObjectSerializer
Return Value |
Method |
---|---|
Object |
decodeObject(string base64) |
void |
decodeToStream(string base64, OutputStream stream) |
string |
encodeObject(Object object) |
string |
encodeStream(InputStream stream) |
boolean |
isSerializable(Object object) |
Example
|