On Mon, Feb 22, 2010 at 06:11, Stefan Bodewig <bode...@apache.org> wrote:
> On 2010-02-20, Torsten Curdt <tcu...@vafer.org> wrote:
>
>>> Then maybe:
>>> canReadEntry(entry)
>>> canWriteEntry(entry)
>
>>> to go confirm with:
>
>>> getNextEntry()

Actually re-reading it sounds like you are thinking

if (canReadEntry()) {
  getNextEntry()
}

...which is not the case (and my point why I think it's confusing)

> Technically you haven't read the entry but only its metadata and are now
> asking whether you can also read the actual contents of the entry.

Right. So wouldn't it make sense to call it e.g.

- canReadEntryData(entry)
- canWriteEntryData(entry)

instead then?

cheers
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to