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

Method hasCapability

app/src/main/java/com/sun/mail/pop3/Protocol.java:250–253  ·  view source on GitHub ↗

Check whether the given capability is supported by this server. Returns true if so, otherwise returns false.

(String c)

Source from the content-addressed store, hash-verified

248 * returns false.
249 */
250 synchronized boolean hasCapability(String c) {
251 return capabilities != null &&
252 capabilities.containsKey(c.toUpperCase(Locale.ENGLISH));
253 }
254
255 /**
256 * Return the map of capabilities returned by the server.

Callers 2

getPortMethod · 0.95
ProtocolMethod · 0.95

Calls 1

containsKeyMethod · 0.80

Tested by

no test coverage detected