Re: [COMPRESS] Archive Stream refactoring

2009-03-29 Thread Christian Grobmeier
>> We could also add some new methods with partial implementations, for example >> putArchiveEntry(File) >> extractFile(File basedir, Entry) > > If this is a common usecase, yes.  The only real user of a simial API > I know is Ant and here those methods wouldn't help since they don't > provide a wa

Re: [COMPRESS] Archive Stream refactoring

2009-03-29 Thread Stefan Bodewig
On 2009-03-29, sebb wrote: > The existing ArchiveInputStream and ArchiveOutputStream abstract > classes are quite minimal. Seems to me that there is quite a lot of > common code that they could provide. > For example, if the Stream was stored as a protected variable, then > they could provide ge

[COMPRESS] Archive Stream refactoring

2009-03-29 Thread sebb
The existing ArchiveInputStream and ArchiveOutputStream abstract classes are quite minimal. Seems to me that there is quite a lot of common code that they could provide. For example, if the Stream was stored as a protected variable, then they could provide generic implementations for many of the s