- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 29 of file Recipient.java.
◆ formal()
Recipient org.turro.mail.impl.Recipient.formal |
( |
String |
formal | ) |
|
◆ friendly()
Recipient org.turro.mail.impl.Recipient.friendly |
( |
String |
friendly | ) |
|
◆ getEmail()
String org.turro.mail.impl.Recipient.getEmail |
( |
| ) |
|
◆ getFormal()
String org.turro.mail.impl.Recipient.getFormal |
( |
| ) |
|
◆ getFriendly()
String org.turro.mail.impl.Recipient.getFriendly |
( |
| ) |
|
◆ getName()
String org.turro.mail.impl.Recipient.getName |
( |
| ) |
|
◆ isEmpty()
boolean org.turro.mail.impl.Recipient.isEmpty |
( |
| ) |
|
◆ of() [1/2]
Definition at line 81 of file Recipient.java.
82 return Recipient.of(contact.getEmail(), contact.getName())
83 .friendly(contact.getFriendly())
84 .formal(contact.getFormal());
◆ of() [2/2]
static Recipient org.turro.mail.impl.Recipient.of |
( |
String |
email, |
|
|
String |
name |
|
) |
| |
|
static |
Definition at line 87 of file Recipient.java.
88 return new Recipient(email, name);
◆ parse()
String org.turro.mail.impl.Recipient.parse |
( |
String |
text | ) |
|
Definition at line 63 of file Recipient.java.
64 if(!Strings.isBlank(email)) {
65 text = text.replaceAll(
"\\{email\\}", email);
67 if(!Strings.isBlank(name)) {
68 text = text.replaceAll(
"\\{name\\}", name);
70 if(!Strings.isBlank(friendly)) {
71 text = text.replaceAll(
"\\{friendly\\}", friendly);
73 if(!Strings.isBlank(formal)) {
74 text = text.replaceAll(
"\\{formal\\}", formal);
The documentation for this class was generated from the following file: