Re: [codec] Handling text encodings (one more thing, sorry)

2002-11-19 Thread Ola Berg
> Maybe we need two concepts: > > A ChunkCodec - like Soundex, Metaphone, Refined Soundex, Message > digests > And a StreamCodec - like Base64, Rot13, compression algorithms, sound > encoding... Sun dealt with the IO in a block/stream neutral way, where InputStream provides a stream oriente

RE: [codec] Handling text encodings (one more thing, sorry)

2002-11-19 Thread O'brien, Tim
A lot of good points. Soundex, Metaphone, and Refined Soundex all deal with language, it would make more sense if these classes were moved into a language subpackage. With regards to streams, I think it makes sense for something like Base64 - most definitely this should be a stream oriented codec