What the hell is "specialized IO"?  Someone makes these terms up and
then people think they have meaning.  Compression is definitely not a
specialized aspect of IO.  Compression is critical to handling IO well
and belongs in an IO package.

On 6/18/06, C. Grobmeier <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

+1 to put this in Compress. I really don't get the point why this should
be in IO. As Martin said, i see compress as specialized IO. For me it
would be also OK if IO would depend on compress.

in my latest draft is allready a CompressUtils class where it would fit
perfectly :-)

regards,
chris.

Torsten Curdt wrote:
>> re:but AFAIK zip and jar share the same compression algorithm anyway.
>>
>> The algorithms are similar but not the same.
>
> Educated me ...Jar*putStream extends Zip*putStream and I have never
> come across a jar I could not unzip with the usual zip command.
>
>> re:...and then add a methods for bzip2, compress and gzip, too? See
>> where I
>> am heading? Better let's have a CompressUtils in compress.
>>
>> Compress doesn't work with files while IO does. On the other hand IO
>> doesn't
>> work with compression while Compress does ;-)
>> I think it would be good idea to add compress to IO :-)
>
> It has been removed from there because it was mixing concerns IIRC.
>
> Getting from File to FileInputStream is easy and no reason to add
> compression algorithms to IO.
>
> cheers
> --
> Torsten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


- --
Christian Grobmeier
Possessed Management
Hurlacher Str. 5 - 86853 Langerringen - Germany
E-Mail: [EMAIL PROTECTED]
Mobil: +(49)(0)175 57 66830
Fax: +(49) (0)8232 959119
Web: http://www.possessed.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFElYfkkv8rKBUE/T4RAseWAJ4tE6gNI9YVWsWBVAFdr05CJ5KPQwCeJeRR
fj3SY+DTd0E0HusGSn+snu8=
=1GWN
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to