Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.communications.relationships.PhoneNumUtil Class Reference

Static Public Member Functions

static String convertToE164 (String phoneNumber)
 
static String convertToInternational (String phoneNumber)
 
static String getCountryCode (String phoneNumber)
 

Private Member Functions

 PhoneNumUtil ()
 

Static Private Attributes

static final Logger logger = Logger.getLogger(PhoneNumUtil.class.getName())
 

Detailed Description

Class to format and get information from a phone number

Definition at line 31 of file PhoneNumUtil.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.communications.relationships.PhoneNumUtil.PhoneNumUtil ( )
private

Definition at line 35 of file PhoneNumUtil.java.

Member Function Documentation

static String org.sleuthkit.autopsy.communications.relationships.PhoneNumUtil.convertToE164 ( String  phoneNumber)
static

Convert a phone number to the E164 format

Parameters
phoneNumber
Returns
formated phone number if successful or original phone number if unsuccessful

Definition at line 70 of file PhoneNumUtil.java.

References org.sleuthkit.autopsy.communications.relationships.PhoneNumUtil.getCountryCode().

static String org.sleuthkit.autopsy.communications.relationships.PhoneNumUtil.convertToInternational ( String  phoneNumber)
static

Convert a phone number to the International format

Parameters
phoneNumber
Returns
formated phone number if successful or original phone number if unsuccessful

Definition at line 94 of file PhoneNumUtil.java.

References org.sleuthkit.autopsy.communications.relationships.PhoneNumUtil.getCountryCode().

Referenced by org.sleuthkit.autopsy.communications.relationships.SummaryViewer.setSelectionInfo().

static String org.sleuthkit.autopsy.communications.relationships.PhoneNumUtil.getCountryCode ( String  phoneNumber)
static

Get the country code from a phone number

Parameters
phoneNumber
Returns
country code if can determine otherwise it will return ""

Definition at line 44 of file PhoneNumUtil.java.

Referenced by org.sleuthkit.autopsy.communications.relationships.PhoneNumUtil.convertToE164(), org.sleuthkit.autopsy.communications.relationships.PhoneNumUtil.convertToInternational(), and org.sleuthkit.autopsy.communications.relationships.SummaryViewer.setSelectionInfo().

Member Data Documentation

final Logger org.sleuthkit.autopsy.communications.relationships.PhoneNumUtil.logger = Logger.getLogger(PhoneNumUtil.class.getName())
staticprivate

Definition at line 33 of file PhoneNumUtil.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.