commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
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 <sebbaz@gmail.com> 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.

Stefan


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


Mime
View raw message