public interface CellEmailFinderSPI
Service-provider interface for a CellEmailFinder.
An instance of
CellEmailFinder
will typically use
some Internet service to do the actual lookup. That service
may work for only some prefixes and in some cases, for a
subset of the cell-phone numbers associated with that prefix.
The prefix for the U.S. ("1") covers the U.S., Canada, and
some other countries or regions, typically small ones, and
these can be distinguished by area codes.-
Method Summary
Modifier and TypeMethodDescriptiongetInstance
(String prefix, String cellNumber) Get an instance of CellEmailFinder.boolean
isSupported
(String prefix, String cellNumber) Determine if a provide supports a particular prefix and cell phone number.
-
Method Details
-
isSupported
Determine if a provide supports a particular prefix and cell phone number.- Parameters:
prefix
- the prefix (e.g, "1" for the U.S.)cellNumber
- the cell-phone number- Returns:
- true if the provider supports this combination; false otherwise
-
getInstance
Get an instance of CellEmailFinder.- Parameters:
prefix
- the prefix (e.g, "1" for the U.S.)cellNumber
- the cell-phone number- Returns:
- an instance of this interface for the given arguments
-