All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.core.util.StringUtil.class Maven / Gradle / Ivy

Go to download

TSL2 Framework Html5 Extensions (WebServer, Html5Presentation, RuleCover, BeanConfigurator, LogicTable-Sheet, Expression-Descriptors for Actions, Rules, URLs, Queries)

There is a newer version: 2.5.2
Show newest version
????=`
java/lang/Object()V
	
!de/tsl2/nano/core/util/StringUtil	substringK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
L(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String;
L(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZ)Ljava/lang/String;
java/lang/StringindexOf(Ljava/lang/String;)I
lastIndexOf
length()I
!"(II)Ljava/lang/String;
$%(I)Ljava/lang/String;
'()extract@(Ljava/lang/CharSequence;Ljava/lang/String;[I)Ljava/lang/String;
+,(Ljava/lang/String;I)I.
01R(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
3+4java/lang/StringBuilder
3$
3!
3
9:;toCharArray()[C
3=>(Ljava/lang/String;)V
@ABtrim(Ljava/lang/StringBuilder;C)V
3DEFtoString()Ljava/lang/String;
3HIJcharAt(I)C
3LMNdeleteCharAt(I)Ljava/lang/StringBuilder;
PQRreplaceA(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;I)V
3TQU/(IILjava/lang/String;)Ljava/lang/StringBuilder;
WXY
replaceAll_(Ljava/lang/CharSequence;Ljava/lang/String;ILde/tsl2/nano/core/ITransformer;)Ljava/lang/String;
[\]^_java/util/regex/Patterncompile-(Ljava/lang/String;)Ljava/util/regex/Pattern;
[abcmatcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;ejava/lang/StringBufferghjava/lang/CharSequence
djk(I)V
mnopqjava/util/regex/Matcherfind()Z
mstuappendReplacementE(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
mwx%groupz{|}~de/tsl2/nano/core/ITransformer	transform&(Ljava/lang/Object;)Ljava/lang/Object;
d???append,(Ljava/lang/String;)Ljava/lang/StringBuffer;
m???
appendTail2(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer;
dD
d
3??k	setLength
3???3(Ljava/lang/StringBuffer;)Ljava/lang/StringBuilder;
???valueOf&(Ljava/lang/Object;)Ljava/lang/String;
?????java/lang/Mathmin(II)I
D?java/lang/Integer????...
???getClass()Ljava/lang/Class;
????qjava/lang/ClassisArray
?????de/tsl2/nano/core/util/UtilasList*(Ljava/lang/Object;)Ljava/util/Collection;?
java/util/Map????entrySet()Ljava/util/Set;?java/util/Collection???size???makeConcatWithConstants'(Ljava/lang/String;I)Ljava/lang/String;???8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
???toFormattedString((Ljava/lang/Object;IZ)Ljava/lang/String;?

???:(Ljava/lang/Object;IZLjava/lang/String;)Ljava/lang/String;????toArray()[Ljava/lang/Object;?
*

???split((Ljava/lang/String;I)[Ljava/lang/String;?[Ljava/lang/Object;
3j??%???J(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
3???-(Ljava/lang/String;)Ljava/lang/StringBuilder;?tsl2nano.more.elements
?????de/tsl2/nano/core/Messages	getString&(Ljava/lang/String;)Ljava/lang/String;
????(I)Ljava/lang/Integer;
?????java/text/MessageFormatformat9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
???	fixString)(Ljava/lang/String;ICZ)Ljava/lang/String;
d???(C)Ljava/lang/StringBuffer;
d?????
d=
d+
d?Q?.(IILjava/lang/String;)Ljava/lang/StringBuffer;${}
insertPropertiesY(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;?	?keySet

java/util/Setiterator()Ljava/util/Iterator;qjava/util/IteratorhasNextnext()Ljava/lang/Object;
d?~getjava/util/LinkedList

!("S(Ljava/lang/CharSequence;Ljava/lang/String;Ljava/lang/String;I[I)Ljava/lang/String;
?$%&isEmpty(Ljava/lang/Object;)Z()*+&java/util/Listadd(-?.(([Ljava/lang/Object;)[Ljava/lang/Object;0[Ljava/lang/String;
m2p3(I)Z
m56
groupCount
89:concatGroups/(Ljava/util/regex/Matcher;[I)Ljava/lang/String;
3="tsl2nano.string.split.regex.marker?^
?AB8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;D°
FGH
startsWith(Ljava/lang/String;)Z
JKHendsWith
MQND(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;P?QJ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
STUsubstringExM(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)Ljava/lang/String;Wjava/lang/IllegalStateExceptionY?Z'(ILjava/lang/String;)Ljava/lang/String;
V=
]AFP
`asubRegex
cdsubRegexFrom
fg
subRegexToi[-./]
k?l'(Ljava/lang/String;)[Ljava/lang/String;
no?spaceCamelCaseq\ss([a-z0-9])([A-Z])u$1 $2
wX?
y?z([C)Ljava/lang/String;|?}8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
d
d!
???9(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;?java/util/ArrayList
?
?
?????java/util/Arrays%([Ljava/lang/Object;)Ljava/util/List;
????addAll(Ljava/util/Collection;)Z
??
???concat)([C[Ljava/lang/Object;)Ljava/lang/String;
m?xF
H
???(C)Ljava/lang/String;
??FtoUpperCase
??FtoLowerCase
???getBytes()[B
????
cryptoHash([B)[B?UTF-8
???(Ljava/lang/String;)[B
????([BLjava/lang/String;)[B?java/lang/Exception
?????"de/tsl2/nano/core/ManagedExceptionforward,(Ljava/lang/Throwable;)Ljava/lang/Throwable;?java/math/BigInteger
???(I[B)V
??E%
???fromBaseString
?????java/lang/Characterdigit(CI)I
???toBase64([B)Ljava/lang/String;
?????java/util/Base64
getEncoder()Ljava/util/Base64$Encoder;
?????java/util/Base64$EncoderencodeToString
????
getDecoder()Ljava/util/Base64$Decoder;
?????java/util/Base64$Decoderdecode
??([B)V
???,parseInt
3???(C)Ljava/lang/StringBuilder;g???subSequence(II)Ljava/lang/CharSequence;	???XTAGLjava/lang/String;??
?java/io/ByteArrayInputStream
??
???fromInputStream;(Ljava/io/InputStream;Ljava/lang/String;)Ljava/lang/String;
???M(Ljava/io/InputStream;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;java/util/Scanner
?(Ljava/io/InputStream;)V
?qhasNextLine
?	FnextLine
?close
?[	
]+java/io/StringWriter
java/io/PrintWriter
(Ljava/io/Writer;)Vjava/util/function/Consumeraccept(Ljava/lang/Object;)V
D![^\w\d]+([\w\d])#}$"()Lde/tsl2/nano/core/ITransformer;&.*((|*).*,4<[^>]*>	MAX_TRIESI
ConstantValueP
VAR_REGEXP;\$\{[\w._-]+\}STR_ANY>*CodeLineNumberTableLocalVariableTablethis#Lde/tsl2/nano/core/util/StringUtil;datafromtoRuntimeVisibleAnnotations,Lde/tsl2/nano/autotest/creator/Expectations;value&Lde/tsl2/nano/autotest/creator/Expect;when!something.. ..some other<>thencontentsubEnclosingK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;iFromiTo	constrainZ
StackMapTablefalsestart	fromRegextoRegexlastijQ(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;Ljava/lang/StringBuilder;srccharactersToTrimcarr[Csbd
 ..  .<>cC@(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Vstr
expressionreplacement^(Ljava/lang/CharSequence;Ljava/lang/String;Lde/tsl2/nano/core/ITransformer;)Ljava/lang/String;Ljava/lang/CharSequence;regextransformer Lde/tsl2/nano/core/ITransformer;LocalVariableTypeTableFLde/tsl2/nano/core/ITransformer;	Signature?(Ljava/lang/CharSequence;Ljava/lang/String;Lde/tsl2/nano/core/ITransformer;)Ljava/lang/String;Ljava/util/regex/Matcher;resultLjava/lang/StringBuffer;?(Ljava/lang/CharSequence;Ljava/lang/String;ILde/tsl2/nano/core/ITransformer;)Ljava/lang/String;@(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)IcounttoStringCut'(Ljava/lang/Object;I)Ljava/lang/String;objLjava/lang/Object;lenso	maxLengthpostfix9	someth...maxLineCount1' [0]: something.. ..some other	showLinesarray
strBuildersep(IC)Ljava/lang/String;	fixLengthfillChar10
ccccccccccorigin
shiftRight	rightFillbuf
fillLength
fillString
insertObjectstextobjectsqnt5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
propertiesLjava/util/Map;6Ljava/util/Map<+Ljava/lang/Object;Ljava/lang/Object;>;\(Ljava/lang/String;Ljava/util/Map<+Ljava/lang/Object;Ljava/lang/Object;>;)Ljava/lang/String;namevname
key_prefixkey_postfixLjava/util/Set;$Ljava/util/Set<+Ljava/lang/Object;>;?(Ljava/lang/String;Ljava/util/Map<+Ljava/lang/Object;Ljava/lang/Object;>;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;((Ljava/lang/String;Ljava/lang/String;I)If
extractAllA(Ljava/lang/CharSequence;Ljava/lang/String;[I)[Ljava/lang/String;sourceregexpgroups[IeallLjava/util/List;$Ljava/util/List;?P(Ljava/lang/CharSequence;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;[<].*[>][\1]	pLjava/util/regex/Pattern;m:(Ljava/lang/Object;Ljava/lang/String;[I)Ljava/lang/String;
betweenFillersplitIndexes	lastIndexsplitFix;(Ljava/lang/String;Z[Ljava/lang/String;)[Ljava/lang/String;splitter
REG_MARKER
IGN_MARKERllignoreposlastpos	regexFromregexTosplitWordBindingwordsplitCamelCaseccNamespace Camel Casenamesssep
concatWrapwrapwwrapmaxLineWidth$something
.. ..some
 otherCRitemslinesLjava/util/ArrayList;)Ljava/util/ArrayList;
findRegExp9(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;toFirstUpperstringtoFirstLowerreplaceNulls([Ljava/lang/Object;Z)VstrsuseNull((Ljava/lang/String;Ljava/lang/String;)[BLjava/lang/Exception;	algorithmtoHexStringbytes[B
fromHexStringhexisHexStringtxtcarrayraw
fromBase64encodedbasetoDecString
fromDecStringnumbercut3(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence;TT;&(TT;I)TT;
removeXMLTags
xmlContent
toInputStream)(Ljava/lang/String;)Ljava/io/InputStream;)(Ljava/io/InputStream;)Ljava/lang/String;streamLjava/io/InputStream;/Lde/tsl2/nano/autotest/creator/InverseFunction;
methodName
parameterscompareParameterIndexlineEnd	lineStartscannerLjava/util/Scanner;java/io/InputStreamjava/lang/Throwable
fuzzyMatch'(Ljava/lang/Object;Ljava/lang/String;)DlbitemfilterweightDlaremoveFormatChars
printToString1(Ljava/util/function/Consumer;)Ljava/lang/String;Ljava/util/function/Consumer;swLjava/io/StringWriter;pwLjava/io/PrintWriter;4Ljava/util/function/Consumer;H(Ljava/util/function/Consumer;)Ljava/lang/String;
countFindings'(Ljava/lang/String;Ljava/lang/String;)IsearchtoValidName(([Ljava/lang/String;)[Ljava/lang/String;args
matchingOneOf'([Ljava/lang/Object;)Ljava/lang/String;matchers([Ljava/lang/Object;)IlobjsisXmllambda$toValidName$0
SourceFileStringUtil.javaBootstrapMethods9
:;<?=$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;?size=]AC []: EGsplit :''not found!I''' on split: '' + not found in data:K[
]?(\w*)M
NOPQR"java/lang/invoke/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;~U
V3??InnerClassesEncoderDecoder\%java/lang/invoke/MethodHandles$Lookup^java/lang/invoke/MethodHandlesLookup!56789?7:<?7=??P?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Bn?@}66bx-ezW
?md	~?s*??M,??,,???? ?,?@
\]A ???6??W?@E??E*?
*???-?@fA??WA	E?w??<?M*?*?????*??K*???
*????K*???*??N,*??????M?*??N,?d<-?-??-? ,???-?@6
stvxy{%|/~6;?N?S?Z?A4;y?w??w?6l??S$y?W??!@G HI[@JK[sLs?Os?	??;*???@?A???6G HI[@JK[sLs?Os?	???G	*ĸư@?A 	??	?6	?V	???Z	????<*???
*????K*???
*????K*??*??`??K*?ә?*??:?3Y?2h??:????66?8?
???-2d?-?-????W?????? ޸??Y?d??S???W?C:?	*??:?@Z????#?-?4?A?H?N?]?m?w???????????????????Af
p<]6N???]z?`mji6?y??????6??V????y?W?	@?&?3B?V3?	?33?	?33?	?33?#?	?	???=	-??@?A	?6	?jG HI[@JK[s?siOs?	??@*?? ??@?A???6	???t??dY?i:*?d6???6*``? ???*??*?	*? ??dY?i:6???W?????*?W??W???W*?W???@F?
???#?0?6?I?T?^?e?k?o?v???????A\	#
?6W]6?????6??j??V
??z??6TB?zW
?dAE?
d?	????O?M>6?dY*??:???Y>?,+??%+?2:????:`??W??????@&	?????'?0?:?I?AR0??:E?O??O??L??J]6G?6=?zW??d6	??Q*+???@A????t??v?	??u6?dY*??:+?:?
:		??J	?:
,
-??:?Y6?%+
?:?`????W??ӧ?????@*

1<JTloAf
TI?1;??
<3??u??u??u??u??r]6
h?z`	?tu??`	?Wd?
?d??d?/?	?dv?	??`*?#+?
?&N*-?*?@
#
$A*a?q?Y6
???????Q?Y?:6*+-,? YN?#?'-?'W*????*?-?*-?`6?????,?/?@1	234'5.6B8A>Q?pQ??Q??9??	H??E]6t	H??W!?(?5g?(?()?G	*+,? ?@?A 	?p	??	??	(??M*+,?
YO? ?@GA ?p??n?G#HI[@JK[sLs?s?Os??("?a	u+?Z:*?`:?1?^,?N*?3?;?4?v:??4??v:?**?3:,?O??7:??7:?-?@B_`acd"e.g;hCiHjNkWlZnfvoxrzApN	e`.,y?cy?oy?u?pu??un?uY6u??o??g?xW?;[m???9:??5+??**?4?v??3Y?;M>+??,*+.?v??W????,?C?@????*?0?A*]65?x5???`W
?	3?????+t*??N?dY-?+?,?h`?i:66,??3-?,.??%-,.? +???W,.6????-?d?-?#?W???@2????'?2?5?K?Q?W?b?n?AH 7]6t??t??t??o??Z?zW?6W? ?d?!??????<>?@?N<C?@?:,?`?::::	6
666
6??D,??
,2?:?U?-?E?-?I??6

?
--?L:?
:		?	?O-?L:*

?R:6?#?*?P? *??Y:

?R:???P??VY?X?[?	??\??\	-?LS	????	-?L??:*
?*6

??VY*?^?[??
??
6
6?????@? ?
??$?-?3?9?D?U?Z?w?|????????????????????$?G?Q?V?h?u?w?{????A????6U0??<I]6????qV??0
{??m??$d?0'a\?*^??-[??	0X?6
3U?66R?V9O?V
W??<//@?//@%?.?///?///O"?
//
TU??:??
*+,?_?(?
*+,?b??
*+,?e?
*+,??@"?
???#(29?A>:??:??:??:?6:?V:?VW	F???O*?l=*?p???N6?/-*h*?`h?
*??	`h? S????-?@*
!=CGMA42]6O??O?6H67y0WA??/?!//?//?	?l?2*h?j?@#A???l?5*?mp?j?@/A??o??5*rt?v?@:A??GHI[@JK[soOs??????U?dY+?h?iM*?xN6+??+2?,+2-?{?W????,?~*??,,?~*?d??,???@E
FGH#I2G8LA4#]6U?dU??
H?zC??W?d?C?????B?dY+?h?iM*?xN6+??$+2?,-?Y+2S??W????,???@Y
Z[\#]7[=`A4(]6B?dB??
5?z0??W?d!????<*ĸ??@hA???6G HI[@JK[sLs?Os?????=*,?jN??Y??:6-??-2??????W????,?8?????@rstu*t0wA>]6=??=?6=??7?0.??t.??W?/?????x+?Z*?`N-?1?
-????@
	?A*??q?Y6	bxW?m@???D*??????**?? ???@?A?????D*??????**?? ???@?A??????D=*??>*2??*-S?&*2? *2???*2?????*S???±@????9?=?C?A A]6D??D?VW?"????2*?????@?AD????r*???+???M,??W??@??
??A 
??D???WL????9??Y*?????@?A??	???1*???@?A??	?H??#*?8L=+??+4?????????@??
???!?A ]6#???dW
?f?	???5*?????ɰ@?A??	???2??*?Ӱ@?A??	???9?Y??*?ܷ?@?A??	????3?3Y*???M>*??,*`? ?䒶?W????,?C?@???(?.?A* ]63??3?6'?`W?3????9??Y*??
???@?A??	???1*
???@?A??	???j*?f?*???*?@A?p?6t??W@gv?	??=*?????v?@A?	?6??Y*?????@A??	??1*-???@AGs	[c?
I	???<*-+???@A?	???NN??Y*?N?3Y?;:-??+-?,?O??W????C:-?-?
?:-?-?
?6AACA@2%'()*/,6.:/>,A.G/K0A4-?`NN
?N?LW0??3????		?Pa+??*??I*????:+??L66+??7+??`?
6??(??	d?oI6????(?@B>?@
ABCDGI+J<KALCMUNYI_PAH<#6"=]6a?a?SJP?B6WG?? I??	??K*??*-?v?@Z[\Aa?W	?y?Y?L?Y+?M*,?+??@`abcA i !"#ti$v%	&'??)=6+?6*+?*>??`6?????@*
fghjklm!n$o'pA>)D?)(?'i6]6$\6?6W%??	)??8* ?"?V?@zA??	A*?h<*??**2?\S????*?@~~?A]6+0W	???,-??A?3Y%?*??*???Y=??8@8B8D8F8H8JLSTWX??Y	??Z	[]_




© 2015 - 2024 Weber Informatics LLC | Privacy Policy