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

Method uidl

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

Return the UIDL string for the message.

(int msg)

Source from the content-addressed store, hash-verified

1052 * Return the UIDL string for the message.
1053 */
1054 synchronized String uidl(int msg) throws IOException {
1055 Response r = simpleCommand("UIDL " + msg);
1056 if (!r.ok)
1057 return null;
1058 int i = r.data.indexOf(' ');
1059 if (i > 0)
1060 return r.data.substring(i + 1);
1061 else
1062 return null;
1063 }
1064
1065 /**
1066 * Return the UIDL strings for all messages.

Callers 2

fetchMethod · 0.80
getUIDMethod · 0.80

Calls 7

simpleCommandMethod · 0.95
multilineCommandMethod · 0.95
readLineMethod · 0.95
indexOfMethod · 0.80
lengthMethod · 0.45
parseIntMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected