Package org.jitsi.service.neomedia
Class DTMFTone
- java.lang.Object
-
- org.jitsi.service.neomedia.DTMFTone
-
public final class DTMFTone extends Object
Class for representing all the different DTMF tones.- Author:
- JM HEITZ
-
-
Field Summary
Fields Modifier and Type Field Description static DTMFToneDTMF_0The "0" DTMF Tonestatic DTMFToneDTMF_1The "1" DTMF Tonestatic DTMFToneDTMF_2The "2" DTMF Tonestatic DTMFToneDTMF_3The "3" DTMF Tonestatic DTMFToneDTMF_4The "4" DTMF Tonestatic DTMFToneDTMF_5The "5" DTMF Tonestatic DTMFToneDTMF_6The "6" DTMF Tonestatic DTMFToneDTMF_7The "7" DTMF Tonestatic DTMFToneDTMF_8The "8" DTMF Tonestatic DTMFToneDTMF_9The "9" DTMF Tonestatic DTMFToneDTMF_AThe "A" DTMF Tonestatic DTMFToneDTMF_BThe "B" DTMF Tonestatic DTMFToneDTMF_CThe "C" DTMF Tonestatic DTMFToneDTMF_DThe "D" DTMF Tonestatic DTMFToneDTMF_SHARPThe "#" DTMF Tonestatic DTMFToneDTMF_STARThe "*" DTMF Tone
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object target)Indicates whether some other object is "equal to" this tone.static DTMFTonegetDTMFTone(String value)Parses input value and return the corresponding tone.StringgetValue()Returns the string representation of this DTMF tone.inthashCode()Returns a hash code value for the object.
-
-
-
Field Detail
-
DTMF_A
public static final DTMFTone DTMF_A
The "A" DTMF Tone
-
DTMF_B
public static final DTMFTone DTMF_B
The "B" DTMF Tone
-
DTMF_C
public static final DTMFTone DTMF_C
The "C" DTMF Tone
-
DTMF_D
public static final DTMFTone DTMF_D
The "D" DTMF Tone
-
DTMF_0
public static final DTMFTone DTMF_0
The "0" DTMF Tone
-
DTMF_1
public static final DTMFTone DTMF_1
The "1" DTMF Tone
-
DTMF_2
public static final DTMFTone DTMF_2
The "2" DTMF Tone
-
DTMF_3
public static final DTMFTone DTMF_3
The "3" DTMF Tone
-
DTMF_4
public static final DTMFTone DTMF_4
The "4" DTMF Tone
-
DTMF_5
public static final DTMFTone DTMF_5
The "5" DTMF Tone
-
DTMF_6
public static final DTMFTone DTMF_6
The "6" DTMF Tone
-
DTMF_7
public static final DTMFTone DTMF_7
The "7" DTMF Tone
-
DTMF_8
public static final DTMFTone DTMF_8
The "8" DTMF Tone
-
DTMF_9
public static final DTMFTone DTMF_9
The "9" DTMF Tone
-
DTMF_STAR
public static final DTMFTone DTMF_STAR
The "*" DTMF Tone
-
DTMF_SHARP
public static final DTMFTone DTMF_SHARP
The "#" DTMF Tone
-
-
Method Detail
-
getValue
public String getValue()
Returns the string representation of this DTMF tone.- Returns:
- the String representation of this DTMF tone.
-
equals
public boolean equals(Object target)
Indicates whether some other object is "equal to" this tone.
-
hashCode
public int hashCode()
Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided byjava.util.Hashtable. The method would actually return the hashcode of the string representation of this DTMF tone.
-
-