Kristian Rosenvold wrote:

[snip]

> Inside commons-compress this target is always a
> tempfile. Inside plexus-archiver OffloadingOutputStream (a
> commons-compress ScatterOutputStream) is used. This writes to some
> pretty huge memory buffers, but when a certain treshold is reached it
> offloads to tempfile while retaining what was initially written to
> memory. I'll be putting this offloading stream class in commons-io
> fairly soon.

commons-io has DeferredFileOutputStream with such a functionality, did you 
miss it?

Cheers,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to