public void setProperty(final OutlookMessageProperty msgProp) {
		String name = msgProp.getClazz();
		final Object value = msgProp.getData();

		if (name == null || value == null) {
			return;
		}
		name = name.intern();

		int mapiClass = -1;
		try {
			mapiClass = parseInt(name, 16);
		} catch (final NumberFormatException e) {
			LOGGER.error("Unexpected mapi class: {}", name, e);
		}

		if (mapiClass == 0x3003 || mapiClass == 0x39fe) {
			setAddress((String) value);
		} else if (mapiClass == 0x3001) {
			setName((String) value);
		}

		// save all properties (incl. those identified above)
		properties.put(mapiClass, value);
	}
public void setProperty ( final OutlookMessageProperty msgProp ) { String name = msgProp . getClazz ( ) ; final Object value = msgProp . getData ( ) ; if ( name == null || value == null ) { return ; } name = name . intern ( ) ; int mapiClass = - 1 ; try { mapiClass = parseInt ( name , 16 ) ; } catch ( final NumberFormatException e ) { LOGGER . error ( "Unexpected mapi class: {}" , name , e ) ; } if ( mapiClass == 0x3003 || mapiClass == 0x39fe ) { setAddress ( ( String ) value ) ; } else if ( mapiClass == 0x3001 ) { setName ( ( String ) value ) ; } properties . put ( mapiClass , value ) ; }
Sets the name/value pair in the {@link #properties} map. Some properties are put into special attributes (e.g., {@link #address} when the property name
is '0076').

@param msgProp The property to be set.