org.mobicents.protocols.ss7.map
Class GSMCharset
java.lang.Object
java.nio.charset.Charset
org.mobicents.protocols.ss7.map.GSMCharset
- All Implemented Interfaces:
- java.lang.Comparable<java.nio.charset.Charset>
public class GSMCharset
- extends java.nio.charset.Charset
The encoding/decoding of 7 bits characters in USSD strings is used doing
GSMCharset.
For further details look at GSM 03.38 Specs
- Author:
- amit bhayani
|
Constructor Summary |
GSMCharset(java.lang.String canonicalName,
java.lang.String[] aliases)
|
|
Method Summary |
boolean |
contains(java.nio.charset.Charset cs)
|
java.nio.charset.CharsetDecoder |
newDecoder()
|
java.nio.charset.CharsetEncoder |
newEncoder()
|
| Methods inherited from class java.nio.charset.Charset |
aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
averageCharsPerByte
protected static final float averageCharsPerByte
- See Also:
- Constant Field Values
maxCharsPerByte
protected static final float maxCharsPerByte
- See Also:
- Constant Field Values
averageBytesPerChar
protected static final float averageBytesPerChar
- See Also:
- Constant Field Values
maxBytesPerChar
protected static final float maxBytesPerChar
- See Also:
- Constant Field Values
BUFFER_SIZE
protected static final int BUFFER_SIZE
- See Also:
- Constant Field Values
GSMCharset
public GSMCharset(java.lang.String canonicalName,
java.lang.String[] aliases)
contains
public boolean contains(java.nio.charset.Charset cs)
- Specified by:
contains in class java.nio.charset.Charset
newDecoder
public java.nio.charset.CharsetDecoder newDecoder()
- Specified by:
newDecoder in class java.nio.charset.Charset
newEncoder
public java.nio.charset.CharsetEncoder newEncoder()
- Specified by:
newEncoder in class java.nio.charset.Charset
Copyright © 2010. All Rights Reserved.