Get whether or not to use the PEEK variant of FETCH when fetching message content. @return the peek flag @since JavaMail 1.3.3
()
| 1164 | * @since JavaMail 1.3.3 |
| 1165 | */ |
| 1166 | public synchronized boolean getPeek() { |
| 1167 | if (peek == null) |
| 1168 | return ((IMAPStore)folder.getStore()).getPeek(); |
| 1169 | else |
| 1170 | return peek.booleanValue(); |
| 1171 | } |
| 1172 | |
| 1173 | /** |
| 1174 | * Invalidate cached header and envelope information for this |
no test coverage detected