Return the UIDL string for the message.
(int msg)
| 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. |
no test coverage detected