public class MailUtil
extends java.lang.Object
Constructor and Description |
---|
MailUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addPersonAndEmail(java.lang.String string,
Property personProperty,
Property emailProperty,
Metadata metadata)
This tries to split a "from" or "to" value into a person field and an email field.
|
static boolean |
containsEmail(java.lang.String chunk)
If the chunk looks like it contains an email
|
static void |
setPersonAndEmail(java.lang.String string,
Property personProperty,
Property emailProperty,
Metadata metadata)
This tries to split a "from" or "to" value into a person field and an email field.
|
public static void setPersonAndEmail(java.lang.String string, Property personProperty, Property emailProperty, Metadata metadata)
string
- personProperty
- emailProperty
- metadata
- public static void addPersonAndEmail(java.lang.String string, Property personProperty, Property emailProperty, Metadata metadata)
string
- personProperty
- emailProperty
- metadata
- public static boolean containsEmail(java.lang.String chunk)
chunk
- to analysetrue
if chunk looks like it contains an email"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"