com.groupbyinc.flux.common.ibm.icu.text.MessageFormat.class Maven / Gradle / Ivy
???? 2h 5com/groupbyinc/flux/common/ibm/icu/text/MessageFormat /com/groupbyinc/flux/common/ibm/icu/text/UFormat MessageFormat.java 7com/groupbyinc/flux/common/ibm/icu/text/MessageFormat$1 Jcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AttributeAndPosition AttributeAndPosition Gcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AppendableWrapper AppendableWrapper Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$PluralSelectorProvider PluralSelectorProvider Kcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$PluralSelectorContext PluralSelectorContext ;com/groupbyinc/flux/common/ibm/icu/text/MessageFormat$Field Field Ecom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$ApostropheMode 6com/groupbyinc/flux/common/ibm/icu/text/MessagePattern ApostropheMode ;com/groupbyinc/flux/common/ibm/icu/text/MessagePattern$Part Part @com/groupbyinc/flux/common/ibm/icu/text/MessagePattern$Part$Type Type >com/groupbyinc/flux/common/ibm/icu/text/MessagePattern$ArgType " ArgType java/util/Map$Entry %
java/util/Map ' Entry 8com/groupbyinc/flux/common/ibm/icu/util/ULocale$Category * /com/groupbyinc/flux/common/ibm/icu/util/ULocale , Category /java/text/AttributedCharacterIterator$Attribute / %java/text/AttributedCharacterIterator 1 Attribute >com/groupbyinc/flux/common/ibm/icu/text/PluralRules$PluralType 4 3com/groupbyinc/flux/common/ibm/icu/text/PluralRules 6
PluralType Ccom/groupbyinc/flux/common/ibm/icu/text/PluralFormat$PluralSelector 9 4com/groupbyinc/flux/common/ibm/icu/text/PluralFormat ; PluralSelector java/text/Format$Field > java/text/Format @ serialVersionUID Jc?L?B? ulocale 1Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;
msgPattern 8Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern; cachedFormatters Ljava/util/Map; 6Ljava/util/Map; customFormatArgStarts Ljava/util/Set; $Ljava/util/Set; stockDateFormatter 4Lcom/groupbyinc/flux/common/ibm/icu/text/DateFormat; stockNumberFormatter 6Lcom/groupbyinc/flux/common/ibm/icu/text/NumberFormat; pluralProvider NLcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$PluralSelectorProvider; ordinalProvider typeList [Ljava/lang/String; TYPE_NUMBER I TYPE_DATE TYPE_TIME
TYPE_SPELLOUT TYPE_ORDINAL
TYPE_DURATION modifierList MODIFIER_EMPTY MODIFIER_CURRENCY MODIFIER_PERCENT MODIFIER_INTEGER dateModifierList DATE_MODIFIER_EMPTY DATE_MODIFIER_SHORT DATE_MODIFIER_MEDIUM DATE_MODIFIER_LONG DATE_MODIFIER_FULL
rootLocale Ljava/util/Locale; SINGLE_QUOTE C ' CURLY_BRACE_LEFT { CURLY_BRACE_RIGHT }
STATE_INITIAL STATE_SINGLE_QUOTE STATE_IN_QUOTE STATE_MSG_ELEMENT $assertionsDisabled Z (Ljava/lang/String;)V ()V ? ?
? FORMAT :Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale$Category; ? ? + ?
getDefault m(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale$Category;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale; ? ?
- ? F G ? applyPattern ? ?
? this 7Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat; pattern Ljava/lang/String; '(Ljava/lang/String;Ljava/util/Locale;)V forLocale E(Ljava/util/Locale;)Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale; ? ?
- ? F(Ljava/lang/String;Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)V ? ?
? locale setLocale (Ljava/util/Locale;)V 4(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)V ? ?
? toPattern ()Ljava/lang/String; ? ?
? P Q ? R S ? T U ? V U ? existingPattern getLocale ()Ljava/util/Locale; toLocale ? ?
- ?
getULocale 3()Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale; java/lang/RuntimeException ? H I ? ? ?
? parse L(Ljava/lang/String;)Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern; ? ?
? cacheExplicitFormats ? ?
? resetPattern ? ?
? e Ljava/lang/RuntimeException; pttrn \(Ljava/lang/String;Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$ApostropheMode;)V J(Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$ApostropheMode;)V ? ?
? getApostropheMode I()Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$ApostropheMode; ? ?
? clearPatternAndSetApostropheMode ? ?
? aposMode GLcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$ApostropheMode;
? M N ? java/lang/IllegalStateException ? ftoPattern() is not supported after custom Format objects have been set via setFormat() or similar APIs ?
? ? ? getPatternString ? ?
? java/lang/String ? originalPattern nextTopLevelArgStart (I)I getLimitPartIndex ? ?
? getPartType E(I)Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$Part$Type; ? ?
? ARG_START BLcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$Part$Type; ? ? ? MSG_LIMIT ? ? ? type partIndex argNameMatches (ILjava/lang/String;I)Z getPart @(I)Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$Part; ? ?
? getType D()Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$Part$Type;
ARG_NAME ? partSubstringMatches R(Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$Part;Ljava/lang/String;)Z
getValue ()I
argName argNumber part =Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$Part;
getArgName (I)Ljava/lang/String; getSubstring Q(Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$Part;)Ljava/lang/String;
java/lang/Integer toString
setFormatsByArgumentIndex ([Ljava/text/Format;)V hasNamedArguments ()Z !
" "java/lang/IllegalArgumentException$ [This method is not available in MessageFormat objects that use alphanumeric argument names.&
% ? ? ?
) setCustomArgStartFormat (ILjava/text/Format;)V+,
-
newFormats [Ljava/text/Format; setFormatsByArgumentName (Ljava/util/Map;)V
3 containsKey (Ljava/lang/Object;)Z56 (7 get &(Ljava/lang/Object;)Ljava/lang/Object;9: (; key 5Ljava/util/Map;
setFormats formatNumber setFormatByArgumentIndex
argumentIndex newFormat Ljava/text/Format; setFormatByArgumentName '(Ljava/lang/String;Ljava/text/Format;)V validateArgumentName (Ljava/lang/String;)IGH
I ? ?
K argumentName setFormat (java/lang/ArrayIndexOutOfBoundsExceptionO (I)V ?Q
PR formatElementIndex getFormatsByArgumentIndex ()[Ljava/text/Format; java/util/ArrayListW
X ? sizeZ
X[ add]6
X^ J K ` valueOf (I)Ljava/lang/Integer;bc
d set '(ILjava/lang/Object;)Ljava/lang/Object;fg
Xh toArray (([Ljava/lang/Object;)[Ljava/lang/Object;jk
Xl0 list )Ljava/util/ArrayList; Ljava/util/ArrayList;
getFormats getArgumentNames ()Ljava/util/Set; java/util/HashSetu
v ?
java/util/Setxy^ result #Ljava/util/Set; getFormatByArgumentName &(Ljava/lang/String;)Ljava/text/Format; format ^([Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer; (Ljava/lang/StringBuffer;)V ??
? ?([Ljava/lang/Object;Ljava/util/Map;Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AppendableWrapper;Ljava/text/FieldPosition;)V?
? arguments [Ljava/lang/Object; Ljava/lang/StringBuffer; pos Ljava/text/FieldPosition; Z(Ljava/util/Map;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer; 5Ljava/util/Map; 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
? &(Ljava/lang/Object;)Ljava/lang/String;?
? temp 5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; usesNamedArguments ](Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer; w(Ljava/lang/Object;Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AppendableWrapper;Ljava/text/FieldPosition;)V?
? Ljava/lang/Object; formatToCharacterIterator ;(Ljava/lang/Object;)Ljava/text/AttributedCharacterIterator; java/lang/NullPointerException? 8formatToCharacterIterator must be passed non-null object?
? ? java/lang/StringBuilder?
? ? (Ljava/lang/StringBuilder;)V ??
?
useAttributes? ?
? java/text/AttributedString? ?
??
? ?
access$000 [(Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AppendableWrapper;)Ljava/util/List;??
? java/util/List? iterator ()Ljava/util/Iterator;???? java/lang/Object? java/util/Iterator? hasNext?!?? next ()Ljava/lang/Object;????
access$100 (Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AttributeAndPosition;)Ljava/text/AttributedCharacterIterator$Attribute;??
?
access$200 `(Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AttributeAndPosition;)Ljava/lang/Object;??
?
access$300 O(Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AttributeAndPosition;)I??
?
access$400??
? addAttribute H(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;II)V??
?? getIterator )()Ljava/text/AttributedCharacterIterator;??
?? a LLcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AttributeAndPosition; Ljava/lang/StringBuilder; wrapper ILcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AppendableWrapper; as Ljava/text/AttributedString; @(Ljava/lang/String;Ljava/text/ParsePosition;)[Ljava/lang/Object; NThis method is not available in MessageFormat objects that use named argument.? java/text/ParsePosition? getIndex?
?? Q(ILjava/lang/String;Ljava/text/ParsePosition;[Ljava/lang/Object;Ljava/util/Map;)V ??
?? source Ljava/text/ParsePosition; maxArgId resultArray backupStartPos
parseToMap <(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/util/Map; java/util/HashMap?
? ? '(Ljava/lang/String;)[Ljava/lang/Object; java/text/ParseException?
?R ??
? MessageFormat parse error!?
getErrorIndex
? (Ljava/lang/String;I)V ?
? getLimit
?
regionMatches (ILjava/lang/String;II)Z
?
setErrorIndexQ
? setIndexQ
? SKIP_SYNTAX ? INSERT_CHAR ? ~ java/lang/AssertionError Unexpected Part append -(Ljava/lang/String;)Ljava/lang/StringBuilder;!"
?# -(Ljava/lang/Object;)Ljava/lang/StringBuilder;!%
?& in parsed message.( (Ljava/lang/Object;)V ?*
+
getArgType B()Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$ArgType;-.
/ parseObject ?(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Object;12
A3 NONE @Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$ArgType;56 #7 !getLiteralStringUntilNextArgument9
: length<
?= indexOf (Ljava/lang/String;I)I?@
?A substring (II)Ljava/lang/String;CD
?E {G
?? }J equalsL6
?M CHOICEO6 #P parseChoiceArgument g(Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern;ILjava/lang/String;Ljava/text/ParsePosition;)DRS
T java/lang/DoubleV (D)Ljava/lang/Double;bX
WY hasPluralStyle[!
#\ SELECT^6 #_ 'java/lang/UnsupportedOperationExceptiona AParsing of plural/select/selectordinal argument is not supported.c
b ? unexpected argType f put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;hi (j strValue stringAfterArgument choiceResult D index len argLimit argType argId formatter
haveArgResult argResult i msgStart args argsMap msgString prevIndex sourceOffset
tempStatus #(Ljava/lang/String;)Ljava/util/Map;??
? clone??
?y? entrySet?t (? getKey?? &?? &?
? 2com/groupbyinc/flux/common/ibm/icu/text/DateFormat?
?? 4com/groupbyinc/flux/common/ibm/icu/text/NumberFormat?
?? Ljava/lang/Integer; entry ; Ljava/util/Map$Entry; it RLjava/util/Iterator;>; Ljava/util/Iterator; other getClass ()Ljava/lang/Class;??
?? /com/groupbyinc/flux/common/ibm/icu/impl/Utility? objectEquals '(Ljava/lang/Object;Ljava/lang/Object;)Z??
?? obj hashCode?
?? getStockDateFormatter 6()Lcom/groupbyinc/flux/common/ibm/icu/text/DateFormat; getDateTimeInstance i(IILcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/text/DateFormat;??
?? getStockNumberFormatter 8()Lcom/groupbyinc/flux/common/ibm/icu/text/NumberFormat; getInstance i(Lcom/groupbyinc/flux/common/ibm/icu/util/ULocale;)Lcom/groupbyinc/flux/common/ibm/icu/text/NumberFormat;??
?? ?(ILcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$PluralSelectorContext;[Ljava/lang/Object;Ljava/util/Map;Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AppendableWrapper;Ljava/text/FieldPosition;)V (Ljava/lang/CharSequence;II)V!?
? REPLACE_NUMBER? ? ? forReplaceNumber? ?uD ? number Ljava/lang/Number;?? ? numberString? ? ? formatAndAppend 9(Ljava/text/Format;Ljava/lang/Object;Ljava/lang/String;)V??
???
? '(Ljava/text/Format;Ljava/lang/Object;)V??
? java/text/FieldPosition?
access$500 L(Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AppendableWrapper;)I??
? (Ljava/lang/CharSequence;)V!?
? null? numberArgIndex? Z ? offset?o ? java/text/ChoiceFormat? 4com/groupbyinc/flux/common/ibm/icu/text/SelectFormat?
A?? ?
?? jdkAposMode?!
??
? java/lang/Number? java/util/Date???
? '? ' is not a Number? doubleValue ()D??
?? findChoiceSubMessage =(Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern;ID)I?
formatComplexSubMessage ?(ILcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$PluralSelectorContext;[Ljava/lang/Object;Ljava/util/Map;Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AppendableWrapper;)V
PLURAL6 # CARDINAL @Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules$PluralType;
5 z(Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat;Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules$PluralType;)V ?
ORDINAL 5 getPluralOffset (I)D
b(ILjava/lang/String;Ljava/lang/Number;DLcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$1;)V ?
findSubMessage ?(Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern;ILcom/groupbyinc/flux/common/ibm/icu/text/PluralFormat$PluralSelector;Ljava/lang/Object;D)I
< N(Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern;ILjava/lang/String;)I
? updateMetaData ?(Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$AppendableWrapper;ILjava/text/FieldPosition;Ljava/lang/Object;)Ljava/text/FieldPosition;"#
$ arg subMsgFormat subMsgString subMsgStart selector context MLcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$PluralSelectorContext; noArg prevDestLength pluralNumber dest fp 5(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;!2
?3
?? appendReducedApostrophes 0(Ljava/lang/String;IILjava/lang/StringBuilder;)V67
8 DOUBLE_REQUIRED: ? ; ? ?
= sb from b (Ljava/lang/Object;II)V ?B
C?^ ARGUMENT =Lcom/groupbyinc/flux/common/ibm/icu/text/MessageFormat$Field;FG H getFieldAttribute ()Ljava/text/Format$Field;JK
?L
M
setBeginIndexOQ
?P setEndIndexRQ
?S
prevLength
countPartsV
W ARG_LIMITY ? Z hasNumericValue\!
]
? getNumericValue @(Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern$Part;)D`a
b getPatternIndexd ?
e charAt (I)Cgh
?i boundary
selectorIndex boundaryChar count? matchStringUntilLimitPart P(Lcom/groupbyinc/flux/common/ibm/icu/text/MessagePattern;IILjava/lang/String;I)Iqr
s newIndex msgLimit start furthest
bestNumber
tempNumber limitPartIndex matchingSourceLength findOtherSubMessage ARG_SELECTOR~ ? ? findFirstPluralNumberArg (ILjava/lang/String;)I SIMPLE?6 #? clear? ?
? (? createAppropriateFormat 8(Ljava/lang/String;Ljava/lang/String;)Ljava/text/Format; java/lang/Exception? W X ? findKeyword ((Ljava/lang/String;[Ljava/lang/String;)I??
? f X ? getCurrencyInstance??
?? getPercentInstance??
?? getIntegerInstance??
?? 5com/groupbyinc/flux/common/ibm/icu/text/DecimalFormat?