QJCC homepage

biz.chitec.quarterback.gjsa
Class EncryptionRulesSymbols

java.lang.Object
  extended bybiz.chitec.quarterback.gjsa.ChatSymbolHolder
      extended bybiz.chitec.quarterback.gjsa.EncryptionRulesSymbols

public final class EncryptionRulesSymbols
extends ChatSymbolHolder


Field Summary
static int ENCRYPTIONFORBIDDEN
           
static int ENCRYPTIONNOTNEEDED
           
static int ENCRYPTIONREQUIRED
           
static int ENCRYPTIONWANTED
           
static EncryptionRulesSymbols instance
           
 
Constructor Summary
EncryptionRulesSymbols()
           
 
Method Summary
 java.lang.String getSymbolSetName()
          Return the name of the symbol set.
 int[] getSymbolSetVersion()
          Version of the symbol set in version-subversion-patchlevel type.
 java.lang.String numericToSymbol(int numeric)
          Return the string-based representation of the symbol.
 int symbolToNumeric(java.lang.String symbol)
          Return the numeric equivalent to a symbol given as String.
 
Methods inherited from class biz.chitec.quarterback.gjsa.ChatSymbolHolder
anyToNumeric, equals, getAllSymbols, getAllSymbolsQIA, getSymbolSetVersionV
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final EncryptionRulesSymbols instance

ENCRYPTIONFORBIDDEN

public static final int ENCRYPTIONFORBIDDEN
See Also:
Constant Field Values

ENCRYPTIONNOTNEEDED

public static final int ENCRYPTIONNOTNEEDED
See Also:
Constant Field Values

ENCRYPTIONREQUIRED

public static final int ENCRYPTIONREQUIRED
See Also:
Constant Field Values

ENCRYPTIONWANTED

public static final int ENCRYPTIONWANTED
See Also:
Constant Field Values
Constructor Detail

EncryptionRulesSymbols

public EncryptionRulesSymbols()
Method Detail

symbolToNumeric

public int symbolToNumeric(java.lang.String symbol)
Description copied from class: ChatSymbolHolder
Return the numeric equivalent to a symbol given as String. Usually, this method is implemented in the subclasses by a preprocessor.

Specified by:
symbolToNumeric in class ChatSymbolHolder
Parameters:
symbol - Value of the symbol as String
Returns:
The symbol's integer value.

numericToSymbol

public java.lang.String numericToSymbol(int numeric)
Description copied from class: ChatSymbolHolder
Return the string-based representation of the symbol. Usually, this method is implemented in the subclasses by a preprocessor.

Specified by:
numericToSymbol in class ChatSymbolHolder
Parameters:
numeric - The symbol's integer value.
Returns:
Value of the symbol as String.

getSymbolSetName

public java.lang.String getSymbolSetName()
Description copied from class: ChatSymbolHolder
Return the name of the symbol set. Usually, this method is implemented in the subclasses by a preprocessor.

Specified by:
getSymbolSetName in class ChatSymbolHolder
Returns:
Arbitrary name of the symbol set.

getSymbolSetVersion

public int[] getSymbolSetVersion()
Description copied from class: ChatSymbolHolder
Version of the symbol set in version-subversion-patchlevel type. Usually, this method is implemented in the subclasses by a preprocessor.

Specified by:
getSymbolSetVersion in class ChatSymbolHolder
Returns:
int-array with three elements being version (index 0), subversion (index 1) and patchlevel (index 2) of the symbol set.

QJCC homepage