org.mobicents.protocols.ss7.indicator
Enum EncodingScheme

java.lang.Object
  extended by java.lang.Enum<EncodingScheme>
      extended by org.mobicents.protocols.ss7.indicator.EncodingScheme
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EncodingScheme>

public enum EncodingScheme
extends java.lang.Enum<EncodingScheme>

Author:
kulikov

Enum Constant Summary
BCD_EVEN
           
BCD_ODD
           
UNKNOWN
           
 
Method Summary
 java.lang.String decodeDigits(java.io.InputStream in)
           
 void encodeDigits(java.lang.String digits, java.io.OutputStream out)
           
 int getValue()
           
static EncodingScheme valueOf(int v)
           
static EncodingScheme valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EncodingScheme[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final EncodingScheme UNKNOWN

BCD_ODD

public static final EncodingScheme BCD_ODD

BCD_EVEN

public static final EncodingScheme BCD_EVEN
Method Detail

values

public static EncodingScheme[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EncodingScheme c : EncodingScheme.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EncodingScheme valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()

valueOf

public static EncodingScheme valueOf(int v)

decodeDigits

public java.lang.String decodeDigits(java.io.InputStream in)
                              throws java.io.IOException
Throws:
java.io.IOException

encodeDigits

public void encodeDigits(java.lang.String digits,
                         java.io.OutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.