[kaffe] CVS kaffe (kaz): libraries/javalib/java/nio/charset/Charset.java (providers):
Ito Kazumitsu
kaz at maczuka.gcd.org
Fri Jan 7 14:32:46 PST 2005
>>>>> ":" == 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.
More information about the kaffe
mailing list