[kaffe] CVS kaffe (kaz): libraries/javalib/java/nio/charset/Charset.java (providers):

Dalibor Topic robilad at kaffe.org
Sat Jan 8 17:38:17 PST 2005


Ito Kazumitsu wrote:
>>>>>>":" == Kaffe CVS <cvs-commits at kaffe.org> writes:
> 
> 
> :> 2005-01-07  Ito Kazumitsu  <kaz at maczuka.gcd.org>
> :> 
> :>         * libraries/javalib/java/nio/charset/Charset.java (providers):
> :>         New method to make an array of CharsetProviders defined in
> :>         META-INF/services/java.nio.charset.spi.CharsetProvider.
> :>         (charsetForName, availableCharsets): Use the new method providers().
> 
> And now I am writing a new subclass of
> java.nio.charset.spi.CharsetProvider, which wraps
> kaffe.io.{ByteToChar|CharToByte}Converter.
> 
> With this new CharsetProvider, any charset that is supported by
> kaffe.io.{ByteToChar|CharToByte}Converter can be used as a
> java.nio.charset.Charset.

Thank you very much Kiyo, I think that's a very good idea.

cheers,
dalibor topic





More information about the kaffe mailing list