commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [compress] in-place updates of archive contents
Date Sat, 26 May 2012 05:25:00 GMT
On 2012-05-25, Marcel Bruch wrote:

> is there any support for just appending new entries to an existing file?

Since you decide about the stream you pass in to the ArchiveOutputStream
yourself you can hand over a FileOutputStream that is appending.  This
should work for tar, cpio and ar but won't work for zip with the central
directory at the end of the file.

Stefan

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


Mime
View raw message