biz.chitec.quarterback.util
Class CharsetProvider
java.lang.Object
java.nio.charset.spi.CharsetProvider
biz.chitec.quarterback.util.CharsetProvider
- public class CharsetProvider
- extends java.nio.charset.spi.CharsetProvider
Provider for QJCC-embedded charsets "GSM-SMS" and "HexNibble".
This class provides the charsets which are delivered with the QJCC. To make them known to the Charset-framework of the JVM,
the provider itself must be registered. The way to do this is to have the file
META-INF/services/java.nio.charset.spi.CharsetProvider either in the archive or in the CLASSPATH part which
contains the CharsetProvider. The file contains the fully-qualified name of this very class and is distributed within the
QJCC package.
- Version:
- $Id: 0fc109322c4ad8caed150ed522985ff48d6ae37b $
- Author:
- cantamen/Dirk Hillbrecht 2005. Released under the LGPL.
- See Also:
GSMCharset
,
HexNibbleCharset
Method Summary |
java.nio.charset.Charset |
charsetForName(java.lang.String charsetName)
|
java.util.Iterator |
charsets()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mycharsets
private java.util.List mycharsets
CharsetProvider
public CharsetProvider()
charsets
public java.util.Iterator charsets()
charsetForName
public java.nio.charset.Charset charsetForName(java.lang.String charsetName)