public void setProperty ( final OutlookMessageProperty msgProp ) { final String name = msgProp . getClazz ( ) ; final Object value = msgProp . getData ( ) ; if ( name != null && value != null ) { switch ( name ) { case "3701" : setSize ( msgProp . getSize ( ) ) ; setData ( ( byte [ ] ) value ) ; break ; case "3704" : setFilename ( ( String ) value ) ; break ; case "3707" : setLongFilename ( ( String ) value ) ; break ; case "370e" : setMimeTag ( ( String ) value ) ; break ; case "3703" : setExtension ( ( String ) value ) ; break ; default : // property to ignore, for full list see properties-list.txt } } }
Sets the property specified by the name parameter . Unknown names are ignored .