* belongs.
*/
public static byte[] getImage(
OperationSetServerStoredAccountInfo accountInfoOpSet)
{
ImageDetail image = null;
Iterator<GenericDetail> imageDetails
= accountInfoOpSet.getDetails(ImageDetail.class);
if (imageDetails.hasNext())
image = (ImageDetail) imageDetails.next();
return (image != null)
? image.getBytes()
: null;
}