Class RecipientData


  • public class RecipientData
    extends Object
    Instances of this class contain all the recipient data that can be extracted from a given JNEF message. This class is used to determine which mapi properties represent one single recipient data set.
    • Constructor Detail

      • RecipientData

        public RecipientData()
    • Method Detail

      • addAttribute

        public void addAttribute​(RecipientData.Attribute attribute,
                                 String value)
        This method allows to add attribute information to a recipient object.
        Parameters:
        attribute - the attribute.
        value - the extracted mapiProp value that shall serve as the corresponding value.
      • getAttributeValue

        public Optional<String> getAttributeValue​(RecipientData.Attribute attribute)
        This method allows access to an attribute value of a recipient data object by providing an attribute enum value.
        Parameters:
        attribute - the attribute enum value.
        Returns:
        an Optional of the attribute's value.
      • isEmpty

        public boolean isEmpty()
        This method return it the attribute map is empty.
        Returns:
        true if the attribute map is emtpy, otherwise false.