org.apache.commons.lang3.text.StrSubstitutor.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2?
o!"
#
$%&'&()
$*+,
-
.
/0 1 2
3
4
5
6
o#
7
8
9
: ;
<
=
>
?
@A
#B
C
D
#E
#F
#G
H
#I
#J
KC
#L
#C
#MNC
O
#P
#Q
#R
##
#S
T
KU
VC
W
#X
VY
Z
[
\
]
^
_ #`
ab
#c
d
e
af
gh
K#ij
k
l
#minioipq
#rst
#uv
Yw
x
y z {|}
_w
a~
a? ??? ?
?? ? ????? DEFAULT_ESCAPE C
ConstantValue $ DEFAULT_PREFIX *Lorg/apache/commons/lang3/text/StrMatcher; DEFAULT_SUFFIX DEFAULT_VALUE_DELIMITER
escapeChar
prefixMatcher
suffixMatcher valueDelimiterMatcher variableResolver )Lorg/apache/commons/lang3/text/StrLookup; Signature ,Lorg/apache/commons/lang3/text/StrLookup<*>; enableSubstitutionInVariables Z replace 5(Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/String; Code LineNumberTable LocalVariableTable source Ljava/lang/Object; valueMap Ljava/util/Map; LocalVariableTypeTable &Ljava/util/Map; b(Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/String; Y(Ljava/lang/Object;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; prefix Ljava/lang/String; suffix ?(Ljava/lang/Object;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; <(Ljava/lang/Object;Ljava/util/Properties;)Ljava/lang/String; propName propValue valueProperties Ljava/util/Properties; propNames Ljava/util/Enumeration; 5Ljava/util/Map; Ljava/util/Enumeration<*>;
StackMapTable?? replaceSystemProperties &(Ljava/lang/Object;)Ljava/lang/String; ()V this .Lorg/apache/commons/lang3/text/StrSubstitutor; (Ljava/util/Map;)V ?(Ljava/util/Map;)V 6(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V c(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V 7(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;C)V escape d(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;C)V I(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;CLjava/lang/String;)V valueDelimiter v(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;CLjava/lang/String;)V ,(Lorg/apache/commons/lang3/text/StrLookup;)V /(Lorg/apache/commons/lang3/text/StrLookup<*>;)V Q(Lorg/apache/commons/lang3/text/StrLookup;Ljava/lang/String;Ljava/lang/String;C)V T(Lorg/apache/commons/lang3/text/StrLookup<*>;Ljava/lang/String;Ljava/lang/String;C)V c(Lorg/apache/commons/lang3/text/StrLookup;Ljava/lang/String;Ljava/lang/String;CLjava/lang/String;)V f(Lorg/apache/commons/lang3/text/StrLookup<*>;Ljava/lang/String;Ljava/lang/String;CLjava/lang/String;)V ?(Lorg/apache/commons/lang3/text/StrLookup;Lorg/apache/commons/lang3/text/StrMatcher;Lorg/apache/commons/lang3/text/StrMatcher;C)V ?(Lorg/apache/commons/lang3/text/StrLookup<*>;Lorg/apache/commons/lang3/text/StrMatcher;Lorg/apache/commons/lang3/text/StrMatcher;C)V ?(Lorg/apache/commons/lang3/text/StrLookup;Lorg/apache/commons/lang3/text/StrMatcher;Lorg/apache/commons/lang3/text/StrMatcher;CLorg/apache/commons/lang3/text/StrMatcher;)V ?(Lorg/apache/commons/lang3/text/StrLookup<*>;Lorg/apache/commons/lang3/text/StrMatcher;Lorg/apache/commons/lang3/text/StrMatcher;CLorg/apache/commons/lang3/text/StrMatcher;)V &(Ljava/lang/String;)Ljava/lang/String; buf *Lorg/apache/commons/lang3/text/StrBuilder;A ((Ljava/lang/String;II)Ljava/lang/String; offset I length ([C)Ljava/lang/String; [C ([CII)Ljava/lang/String; ,(Ljava/lang/StringBuffer;)Ljava/lang/String; Ljava/lang/StringBuffer; .(Ljava/lang/StringBuffer;II)Ljava/lang/String; ,(Ljava/lang/CharSequence;)Ljava/lang/String; Ljava/lang/CharSequence; .(Ljava/lang/CharSequence;II)Ljava/lang/String; >(Lorg/apache/commons/lang3/text/StrBuilder;)Ljava/lang/String; @(Lorg/apache/commons/lang3/text/StrBuilder;II)Ljava/lang/String; replaceIn (Ljava/lang/StringBuffer;)Z (Ljava/lang/StringBuffer;II)Z (Ljava/lang/StringBuilder;)Z Ljava/lang/StringBuilder; (Ljava/lang/StringBuilder;II)Z -(Lorg/apache/commons/lang3/text/StrBuilder;)Z /(Lorg/apache/commons/lang3/text/StrBuilder;II)Z
substitute ?(Lorg/apache/commons/lang3/text/StrBuilder;IILjava/util/List;)I bufName i varNameExprChars valueDelimiterMatchLen varLen change varNameExpr endPos varName varDefaultValue varValue startPos endMatchLen nestedVarCount
startMatchLen priorVariables Ljava/util/List;
pfxMatcher suffMatcher valueDelimMatcher substitutionInVariablesEnabled top altered lengthChange chars bufEnd pos $Ljava/util/List;?? ?) S(Lorg/apache/commons/lang3/text/StrBuilder;IILjava/util/List;)I checkCyclicSubstitution %(Ljava/lang/String;Ljava/util/List;)V 9(Ljava/lang/String;Ljava/util/List;)V resolveVariable R(Ljava/lang/String;Lorg/apache/commons/lang3/text/StrBuilder;II)Ljava/lang/String; variableName resolver0
getEscapeChar ()C
setEscapeChar (C)V escapeCharacter getVariablePrefixMatcher ,()Lorg/apache/commons/lang3/text/StrMatcher; setVariablePrefixMatcher Z(Lorg/apache/commons/lang3/text/StrMatcher;)Lorg/apache/commons/lang3/text/StrSubstitutor; setVariablePrefix 1(C)Lorg/apache/commons/lang3/text/StrSubstitutor; B(Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrSubstitutor; getVariableSuffixMatcher setVariableSuffixMatcher setVariableSuffix getValueDelimiterMatcher setValueDelimiterMatcher setValueDelimiter getVariableResolver +()Lorg/apache/commons/lang3/text/StrLookup; .()Lorg/apache/commons/lang3/text/StrLookup<*>; setVariableResolver isEnableSubstitutionInVariables ()Z setEnableSubstitutionInVariables (Z)V
SourceFile StrSubstitutor.java ,org/apache/commons/lang3/text/StrSubstitutor ? ? ? ? ? ??? java/util/HashMap ? ???????? java/lang/String? ???? ? ?? ? ? 'org/apache/commons/lang3/text/StrLookup t u v u ? ??? ? ? ? ? ? w u ? ?
(org/apache/commons/lang3/text/StrBuilder ?? ?? ? ??? ???????????????? ? ????????? ? ? ??? ? ??? ?? ? ? ? ?????? ???????? java/util/ArrayList??? ? ? ? ? ???????? +Infinite loop in property interpolation of ?? : ->?? java/lang/IllegalStateException ??? ? x q y u "java/lang/IllegalArgumentException )Variable prefix matcher must not be null!?? !Variable prefix must not be null!?? z u )Variable suffix matcher must not be null! !Variable suffix must not be null! { u??? | } ? ? ${ } :- java/lang/Object
java/util/Map java/util/Enumeration java/util/List (org/apache/commons/lang3/text/StrMatcher toString ()Ljava/lang/String; java/util/Properties
propertyNames ()Ljava/util/Enumeration; hasMoreElements nextElement ()Ljava/lang/Object; getProperty put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; systemPropertiesLookup mapLookup :(Ljava/util/Map;)Lorg/apache/commons/lang3/text/StrLookup; (Ljava/lang/String;)V ()I (I)V append @(Ljava/lang/String;II)Lorg/apache/commons/lang3/text/StrBuilder; substring (II)Ljava/lang/String; .([C)Lorg/apache/commons/lang3/text/StrBuilder; 0([CII)Lorg/apache/commons/lang3/text/StrBuilder; java/lang/StringBuffer D(Ljava/lang/StringBuffer;)Lorg/apache/commons/lang3/text/StrBuilder; F(Ljava/lang/StringBuffer;II)Lorg/apache/commons/lang3/text/StrBuilder; java/lang/CharSequence F(Ljava/lang/CharSequence;II)Lorg/apache/commons/lang3/text/StrBuilder; V(Lorg/apache/commons/lang3/text/StrBuilder;)Lorg/apache/commons/lang3/text/StrBuilder; X(Lorg/apache/commons/lang3/text/StrBuilder;II)Lorg/apache/commons/lang3/text/StrBuilder; >(Ljava/lang/Object;)Lorg/apache/commons/lang3/text/StrBuilder; .(IILjava/lang/String;)Ljava/lang/StringBuffer; java/lang/StringBuilder G(Ljava/lang/StringBuilder;II)Lorg/apache/commons/lang3/text/StrBuilder; /(IILjava/lang/String;)Ljava/lang/StringBuilder; buffer isMatch ([CIII)I deleteCharAt -(I)Lorg/apache/commons/lang3/text/StrBuilder; ([CII)V toCharArray ()[C ([CI)I (I)Ljava/lang/String; add (Ljava/lang/Object;)Z @(IILjava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; size remove (I)Ljava/lang/Object; contains >(Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; appendWithSeparators R(Ljava/lang/Iterable;Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; lookup charMatcher -(C)Lorg/apache/commons/lang3/text/StrMatcher;
stringMatcher >(Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrMatcher; $org/apache/commons/lang3/StringUtils isEmpty (Ljava/lang/CharSequence;)Z ! o
p q r s t u v u w u x q y u z u { u | } ~ ? ? 6 ? ? ? S
? Y+? *? ? ? ? ?
? ?
? ? ?
? ? ~ ? ? ? ? i ? Y+,-? *? ? ? ? ? * ? ? ? ? ? ? ? ? ? ? ? ~ ? ? ? ? ? F+? *? ?? Y? M+? N-? ? $-?
? :+? :,?
W???*,? ? ? *
? ? ? ? ? ? * ? 2 ? = ? @ ? ? > * ? ? 2 ? ? F ? ? F ? ? 5 ? ? 0 ? ? ? 5 ? ? 0 ? ? ?
? ? ?) ? ? ? 9 ? Y? ? *? ? ? ? ? ? ? ? ? ? ? *? ? ? $? ? ?
? ? ? ? ? ? ? ? [ *+? ? ? $? ? ?
? ? ? ? ? ? ? ? ? ? ~ ? ? ? ? k
*+? ,-$? ? ?
? *
? ?
? ?
? ?
? ? ?
? ? ~ ? ? ? ? u
*+? ,-? ? ?
? 4
? ?
? ?
? ?
? ?
? q ?
? ? ~ ? ? ? ? ? *+? ,-? ? ?
( ) ? > ? ? ? ? ? ? ? ? ? q ? ? ? ? ? ~ ? ? ? ? X *+? ? $? ? ?
1
2 ? ? ? | } ? | ~ ? ? ? ? ? $*? *+? *,? W*-? W*? *? ? W? ? > ? @ A B C #D ? 4 $ ? ? $ | } $ ? ? $ ? ? $ ? q ? $ | ~ ? ? ? ? ? #*? *+? *,? W*-? W*? *? W? ? R S T U V W "X ? > # ? ? # | } # ? ? # ? ? # ? q # ? ? ? # | ~ ? ? ? ? u
*+,-? ? ? ?
f g ? 4
? ?
| }
y u
z u
? q ?
| ~ ? ? ? ? ? #*? *+? *,? !W*-? "W*? *? W? ? v w x y z { "| ? > # ? ? # | } # y u # z u # ? q # { u ? # | ~ ? ? ? ? ? #+? ?? #Y+? $M*,+? %? &? +?,? '? ? ? ? ? ? ? ? ? # ? ? # ? ? ? ? ? ? ? ? ? ? ? 0+? ?? #Y? (+? ):*? &? +`? *?? '? ? ? ? ? ? !? *? ? 4 0 ? ? 0 ? ? 0 ? ? 0 ? ? ? ? ? ? # ? ? ? ? y "+? ?? #Y+?? (+? +M*,+?? &W,? '? ? ? ? ? ? ? ? " ? ? " ? ? ? ? ? ? ? ? ? %+? ?? #Y? (+? ,:*? &W? '? ? ? ? ? ? ? ? 4 % ? ? % ? ? % ? ? % ? ? ? ? ? ? ? ? } &+? ?? #Y+? -? (+? .M*,,? /? &W,? '? ? ? ? ? ? !? ? &