commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [Compress] Do output streams really need the putNextEntry() method?
Date Mon, 30 Mar 2009 14:36:52 GMT
On 2009-03-30, sebb <> wrote:

> The abstract parent class for archive output streams has the method

> putArchiveEntry(ArchiveEntry)

> but all the implementations - apart from Ar - also define the specific method

> putNextEntry(xxxArchiveEntry) where xxx = Zip, Jar, etc.

> Do we really need the latter method?

Not really.

I assume they are there because the original codebases already
contained them.  In ZIP's case that's because the original Ant code
tried to mimic java.util.ZipOutputStream.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message