lag,
        boolean&nbsp;value)</code>
<div class="block">Set the specified flags on the messages whose message numbers
 are in the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Folder.</span><code><span class="memberNameLink"><a href="../../../jakarta/mail/Folder.html#setFlags-int-int-jakarta.mail.Flags-boolean-">setFlags</a></span>(int&nbsp;start,
        int&nbsp;end,
        <a href="../../../jakarta/mail/Flags