/** * Gets a collection of addresses specified in the message's BCC header. * @return Addresses specified in the message's BCC header. */ protected NHINDAddressCollection getBCC() { if (bcc == null) { bcc = NHINDAddressCollection.parse(message.getBCCHeader(), AddressSource.BCC); } return bcc; }
/** * Gets a collection of addresses specified in the message's TO header. * @return Addresses specified in the message's TO header. */ protected NHINDAddressCollection getTo() { if (to == null) { to = NHINDAddressCollection.parse(message.getToHeader(), AddressSource.To); } return to; }
/** * Gets a collection of addresses specified in the message's CC header. * @return Addresses specified in the message's CC header. */ protected NHINDAddressCollection getCC() { if (cc == null) { cc = NHINDAddressCollection.parse(message.getCCHeader(), AddressSource.CC); } return cc; }