MCPcopy Create free account
hub / github.com/M66B/FairEmail / getEmailDomain

Method getEmailDomain

app/src/main/java/eu/faircode/email/UriHelper.java:205–214  ·  view source on GitHub ↗
(String address)

Source from the content-addressed store, hash-verified

203 }
204
205 static String getEmailDomain(String address) {
206 if (address == null)
207 return null;
208
209 int at = address.indexOf('@');
210 if (at > 0)
211 return address.substring(at + 1);
212
213 return null;
214 }
215
216 static @NonNull
217 Uri guessScheme(@NonNull Uri uri) {

Callers 15

callMethod · 0.95
formatMethod · 0.95
getHostMethod · 0.95
onExecuteMethod · 0.95
onCreateDialogMethod · 0.95
matchKeywordsMethod · 0.95
onActionMoveMethod · 0.95
blockSenderMethod · 0.95
isForwarderMethod · 0.95
checkMxMethod · 0.95
_getMethod · 0.95
bindToMethod · 0.95

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected