Proposal: To be able to define whether an ObjectOutputStream is Compressed

Serialization/Externalization allows you to exchange java objects in a simple way. It is also possible to internally compress the Output Stream (ObjectOutputStream), but it is very cumbersome and messes up the code.

So what I would like to have is a flag in ObjectOutputStream that indicates that compression shall be performed from now on.

What do you think ?

[387 byte] By [hhaag@travel.de] at [2007-9-26 14:15:53]
# 1
If you need to make serialization work and want to compress it consider using externalizable.
chiltown at 2007-7-2 15:47:15 > top of Java-index,Other Topics,Java Community Process (JCP) Program...