* @param vcard
* @throws VCardParseException
*/
private void parseSoundType(String group, String value, List<ParameterType> paramTypeList, VCardImpl vcard) throws VCardParseException {
try {
SoundType soundType = new SoundType();
parseParamTypes(soundType, paramTypeList, value, VCardTypeName.SOUND);
if(soundType.isBinary()) {
byte[] soundBytes = Base64Wrapper.decode(value);
soundType.setCompression(false);
soundType.setSound(soundBytes);
}
else {
URI soundUri = new URI(value);
soundType.setSoundURI(soundUri);
}
if(group != null) {
soundType.setGroup(group);
}
vcard.addSound(soundType);
}
catch(Exception ex) {