Re: [COMPRESS] Changeset ideas

2009-03-30 Thread sebb
On 30/03/2009, Christian Grobmeier wrote: > Hi, > > > > The current ChangeSet API allows for: > > + deletion of entries by name > > + addition of entries by ArchiveEntry and InputStream. > > > > This is fine as far as it goes, but I think it would be useful to add: > > + addition of entries

Re: [COMPRESS] Changeset ideas

2009-03-29 Thread Christian Grobmeier
Hi, > The current ChangeSet API allows for: > + deletion of entries by name > + addition of entries by ArchiveEntry and InputStream. > > This is fine as far as it goes, but I think it would be useful to add: > + addition of entries by File > + replacement of an existing named entry by File or Entr

Re: [COMPRESS] Changeset ideas

2009-03-29 Thread Stefan Bodewig
your API suggesteions sound useful. On 2009-03-30, sebb wrote: > On 29/03/2009, sebb wrote: >> On 29/03/2009, sebb wrote: >>> The current ChangeSet API allows for: deletion of entries by name > The same method call is currently used for both deleting a single > file, and for deleting a d

Re: [COMPRESS] Changeset ideas

2009-03-29 Thread sebb
On 29/03/2009, sebb wrote: > On 29/03/2009, sebb wrote: > > The current ChangeSet API allows for: > > + deletion of entries by name The same method call is currently used for both deleting a single file, and for deleting a directory tree. If the string matches a file, it is deleted, but if it

Re: [COMPRESS] Changeset ideas

2009-03-29 Thread sebb
On 29/03/2009, sebb wrote: > The current ChangeSet API allows for: > + deletion of entries by name > + addition of entries by ArchiveEntry and InputStream. Forgot about "Move", which is not yet implemented. I think that should be called "Rename", unless it really means to move the entry elsewh

[COMPRESS] Changeset ideas

2009-03-29 Thread sebb
The current ChangeSet API allows for: + deletion of entries by name + addition of entries by ArchiveEntry and InputStream. This is fine as far as it goes, but I think it would be useful to add: + addition of entries by File + replacement of an existing named entry by File or Entry+InputStream It