Provides general utility methods related to communications artifacts.
Definition at line 27 of file CommunicationsUtils.java.
static String org.sleuthkit.datamodel.CommunicationsUtils.normalizeEmailAddress |
( |
String |
emailAddress | ) |
throws TskCoreException |
|
static |
Checks if the given string is a valid email address. Normalizes the given email address by converting it to lowercase.
- Parameters
-
emailAddress | The string to be checked and normalized. |
- Returns
- The normalized email address.
- Exceptions
-
Definition at line 64 of file CommunicationsUtils.java.
static String org.sleuthkit.datamodel.CommunicationsUtils.normalizePhoneNum |
( |
String |
phoneNum | ) |
throws TskCoreException |
|
static |
Checks if the given string may be a phone number. Normalize the phone number by removing all non numeric characters, except for leading +.
- Parameters
-
phoneNum | The string to check and normalize. |
- Returns
- The normalized phone number.
- Exceptions
-
Definition at line 47 of file CommunicationsUtils.java.
The documentation for this class was generated from the following file: