On Fri, Feb 19, 2010 at 6:49 PM, Torsten Curdt <tcu...@vafer.org> wrote:
>>> While I am fine with the changes itself I find the naming "canRead" on
>>> an InputStream a little ambiguous.
>>> Maybe "canReadArchiveEntry"? Open to other suggestions.
>>
>> I'm not attached to names and can live with either.  I don't feel
>> stream.canRead(anEntry) is ambiguos, but then again I know what it does.
>
> stream.canWrite(entry) is clear
>
> stream.canRead(entry) I am not quite sure what to make of
>
> I am using getNextEntry() to get an entry.
> So I was actually able to read the entry already, no?
>
> What I was referring to in the first place was canRead vs available though.

Then maybe:

canReadEntry(entry)
canWriteEntry(entry)

to go confirm with:

getNextEntry()

?

Cheers
Christian

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

Reply via email to