1 package net.pterodactylus.sone.text;
4 * {@link Part} implementation that holds a freemail address.
6 public class FreemailPart implements Part {
8 private final String emailLocalPart;
9 private final String freemailId;
10 private final String identityId;
12 public FreemailPart(String emailLocalPart, String freemailId, String identityId) {
13 this.emailLocalPart = emailLocalPart;
14 this.freemailId = freemailId;
15 this.identityId = identityId;
19 public String getText() {
20 return String.format("%s@%s.freemail", emailLocalPart, freemailId);
23 public String getEmailLocalPart() {
24 return emailLocalPart;
27 public String getFreemailId() {
31 public String getIdentityId() {