com.groupbyinc.flux.common.apache.commons.codec.language.Metaphone.class Maven / Gradle / Ivy
???? 2 ? Bcom/groupbyinc/flux/common/apache/commons/codec/language/Metaphone java/lang/Object =com/groupbyinc/flux/common/apache/commons/codec/StringEncoder Metaphone.java VOWELS Ljava/lang/String; AEIOU
FRONTV EIY
VARSON CSPTG
maxCodeLen I ()V
this DLcom/groupbyinc/flux/common/apache/commons/codec/language/Metaphone; metaphone &(Ljava/lang/String;)Ljava/lang/String; java/lang/String length ()I !
" $ java/util/Locale & ENGLISH Ljava/util/Locale; ( ) ' * toUpperCase &(Ljava/util/Locale;)Ljava/lang/String; , -
. toCharArray ()[C 0 1
2 java/lang/StringBuilder 4 (I)V 6
5 7 [C 9 append ([CII)Ljava/lang/StringBuilder; ; <
5 = ([C)Ljava/lang/StringBuilder; ; ?
5 @ setCharAt (IC)V B C
5 D
5 "
getMaxCodeLen G !
H charAt (I)C J K
5 L isPreviousChar (Ljava/lang/StringBuilder;IC)Z N O
P (C)Ljava/lang/StringBuilder; ; R
5 S
isLastChar (II)Z U V
W indexOf (I)I Y Z
[ CIA ] regionMatch /(Ljava/lang/StringBuilder;ILjava/lang/String;)Z _ `
a
isNextChar c O
d isVowel (Ljava/lang/StringBuilder;I)Z f g
h GN j GNED l SH n SIO p SIA r TIA t TIO v TCH x TH z setLength | 6
5 } toString ()Ljava/lang/String; ?
5 ? txtLength symb C txt hard Z inwd local Ljava/lang/StringBuilder; code wdsz n string index c matches substring (II)Ljava/lang/String; ? ?
5 ? equals (Ljava/lang/Object;)Z ? ?
? test encode &(Ljava/lang/Object;)Ljava/lang/Object; @com/groupbyinc/flux/common/apache/commons/codec/EncoderException ? FParameter supplied to Metaphone encode is not of type java.lang.String ? (Ljava/lang/String;)V ?
? ?
? obj Ljava/lang/Object; str isMetaphoneEqual '(Ljava/lang/String;Ljava/lang/String;)Z str1 str2
setMaxCodeLen
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile ! ? ? ? ? <