* @param vcard
* @throws VCardParseException
*/
private void parseLogoType(String group, String value, List<ParameterType> paramTypeList, VCardImpl vcard) throws VCardParseException {
try {
LogoType logoType = new LogoType();
parseParamTypes(logoType, paramTypeList, value, VCardTypeName.LOGO);
if(logoType.isBinary()) {
byte[] logoBytes = Base64Wrapper.decode(value);
logoType.setCompression(false);
logoType.setLogo(logoBytes);
}
else {
URI logoUri = new URI(value);
logoType.setLogoURI(logoUri);
}
if(group != null) {
logoType.setGroup(group);
}
vcard.addLogo(logoType);
}
catch(Exception ex) {