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 Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)

There is a newer version: 2.5.2
Show newest version
????4?
G?
??
??
??
#?
#?
#?
#?
#?
#??
??
?
?
?
?
#??
?
??
?
?
?
??
?
??
?????
?
??
??
?????
?
??
?
?
?
?
G??????
G?
??
???1??
?
??3?
??
#?
??3??
#??
???
???
???
+?
??
??
?
??
?
?
???
??1???????
?1??
Z?
??
??????>
??
??
??
???
#?
????
#
#
?
?
?
p?
??

p
p?
?
#?
#	
#

#
#
?

#
?

?
?
?
+
?	?
? 
?!
?"#
?$
?%
?&
?'
#()*
??+
?,-.
??/0
VAR_REGEXPLjava/lang/String;
ConstantValue1STR_ANY2XTAG()VCodeLineNumberTableLocalVariableTablethis#Lde/tsl2/nano/core/util/StringUtil;	substringJ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;datafromtosubEnclosingK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;iFromIiTo	constrainZ
StackMapTable?lastL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String;iK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;startL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZ)Ljava/lang/String;jQ(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;Ljava/lang/StringBuilder;R(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;trim8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;srccharactersToTrimcarr[Csb??(Ljava/lang/StringBuilder;C)VcCreplace@(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Vstr
expressionreplacementA(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;I)V
replaceAll^(Ljava/lang/CharSequence;Ljava/lang/String;Lde/tsl2/nano/core/ITransformer;)Ljava/lang/String;Ljava/lang/CharSequence;regextransformer Lde/tsl2/nano/core/ITransformer;matcherLjava/util/regex/Matcher;resultLjava/lang/StringBuffer;LocalVariableTypeTableFLde/tsl2/nano/core/ITransformer;3?	Signature?(Ljava/lang/CharSequence;Ljava/lang/String;Lde/tsl2/nano/core/ITransformer;)Ljava/lang/String;@(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)IcounttoString&(Ljava/lang/Object;)Ljava/lang/String;objLjava/lang/Object;'(Ljava/lang/Object;I)Ljava/lang/String;o	maxLengthpostfixtoFormattedStringmaxLineCount((Ljava/lang/Object;IZ)Ljava/lang/String;array[Ljava/lang/Object;
strBuilder	showLines?	fixString(IC)Ljava/lang/String;	fixLengthfillChar)(Ljava/lang/String;ICZ)Ljava/lang/String;
shiftRightorigin	rightFillbuf
fillLength
fillString
insertObjects9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;textobjectsqntinsertProperties5(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;Y(Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;valuenamevname
key_prefixkey_postfixkeySetLjava/util/Set;$Ljava/util/Set<+Ljava/lang/Object;>;?45?(Ljava/lang/String;Ljava/util/Map<+Ljava/lang/Object;Ljava/lang/Object;>;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
extractAllA(Ljava/lang/CharSequence;Ljava/lang/String;[I)[Ljava/lang/String;sourceregexpgroups[IeallLjava/util/List;$Ljava/util/List;67$extract@(Ljava/lang/CharSequence;Ljava/lang/String;[I)Ljava/lang/String;P(Ljava/lang/CharSequence;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;S(Ljava/lang/CharSequence;Ljava/lang/String;Ljava/lang/String;I[I)Ljava/lang/String;pLjava/util/regex/Pattern;m8concatGroups/(Ljava/util/regex/Matcher;[I)Ljava/lang/String;split:(Ljava/lang/Object;Ljava/lang/String;[I)Ljava/lang/String;
betweenFillersplitIndexess	lastIndex((Ljava/lang/String;I)[Ljava/lang/String;length[Ljava/lang/String;splitWordBinding'(Ljava/lang/String;)[Ljava/lang/String;wordsplitCamelCaseccNamespaceCamelCase&(Ljava/lang/String;)Ljava/lang/String;concat)([C[Ljava/lang/Object;)Ljava/lang/String;sepnamesssep
concatWrapwrapwwrapformat'(Ljava/lang/String;I)Ljava/lang/String;maxLineWidth9(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;CRitemslinesLjava/util/ArrayList;)Ljava/util/ArrayList;
findRegExp9(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;toFirstUpperstringtoFirstLowerreplaceNulls([Ljava/lang/Object;Z)VstrsuseNull
cryptoHash(Ljava/lang/String;)[B)(Ljava/lang/String;Ljava/lang/String;I)[BLjava/lang/Exception;	algorithmtoHexString([B)Ljava/lang/String;bytes[B
fromHexStringhexfromBaseStringbasetoDecString
fromDecStringnumbercut3(Ljava/lang/CharSequence;I)Ljava/lang/CharSequence;TT;&(TT;I)TT;
removeXMLTags
xmlContent
toInputStream)(Ljava/lang/String;)Ljava/io/InputStream;fromInputStream)(Ljava/io/InputStream;)Ljava/lang/String;streamLjava/io/InputStream;;(Ljava/io/InputStream;Ljava/lang/String;)Ljava/lang/String;lineEndM(Ljava/io/InputStream;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;	lineStartscannerLjava/util/Scanner;#9:
fuzzyMatch'(Ljava/lang/Object;Ljava/lang/String;)DlbitemfilterweightDcontentlaremoveFormatChars
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;
SourceFileStringUtil.java????????;<=<=>??;@?A??BCjava/lang/StringBuilder?D???EFGHI???J8KL?Mjava/lang/StringBuffer7?N3OPQRSETUVjava/lang/StringWXYZ[NW\java/lang/Integer...]^_`Pabc
java/util/Mapdejava/util/CollectionWfsize=g>WI]h???ij
*
6< []: Wk
tsl2nano.more.elementslmEjava/lang/ObjecthnoN??WpWZ??q${}e4rs5tPuvwVjava/util/LinkedList,/xy6zyi{O|}>SA45[-./]6@DE\s([a-z0-9])([A-Z])$1 $2??h~NQjava/util/ArrayListb???FGh??E?E??a?UTF-8?ba?java/lang/Exception???java/math/BigInteger???AmO?@W???[
]???(\w*)
java/io/ByteArrayInputStream??z~z?java/util/Scanner???P?E??;?[	
]+java/io/StringWriterjava/io/PrintWriter?????<[^>]*>!de/tsl2/nano/core/util/StringUtil\$\{[\w._-]+\}*java/util/regex/Matcher
java/util/Setjava/util/Iteratorjava/util/Listjava/lang/CharSequencejava/util/regex/Patternjava/io/InputStreamjava/lang/ThrowableindexOf(Ljava/lang/String;)IlastIndexOf()I(II)Ljava/lang/String;(Ljava/lang/String;I)I(I)Ljava/lang/String;toCharArray()[C(Ljava/lang/String;)V()Ljava/lang/String;charAt(I)CdeleteCharAt(I)Ljava/lang/StringBuilder;/(IILjava/lang/String;)Ljava/lang/StringBuilder;compile-(Ljava/lang/String;)Ljava/util/regex/Pattern;3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;(I)Vfind()ZappendReplacementE(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;groupde/tsl2/nano/core/ITransformer	transform&(Ljava/lang/Object;)Ljava/lang/Object;append,(Ljava/lang/String;)Ljava/lang/StringBuffer;
appendTail2(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer;	setLength3(Ljava/lang/StringBuffer;)Ljava/lang/StringBuilder;getClass()Ljava/lang/Class;java/lang/ClassisArrayde/tsl2/nano/core/util/UtilasList*(Ljava/lang/Object;)Ljava/util/Collection;entrySet()Ljava/util/Set;-(Ljava/lang/String;)Ljava/lang/StringBuilder;sizevalueOftoArray()[Ljava/lang/Object;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;de/tsl2/nano/core/Messages	getString(I)Ljava/lang/Integer;java/text/MessageFormat(C)Ljava/lang/StringBuffer;.(IILjava/lang/String;)Ljava/lang/StringBuffer;iterator()Ljava/util/Iterator;hasNextnext()Ljava/lang/Object;getisEmpty(Ljava/lang/Object;)Zadd(([Ljava/lang/Object;)[Ljava/lang/Object;(I)Z
groupCount([C)Ljava/lang/String;java/util/Arrays%([Ljava/lang/Object;)Ljava/util/List;addAll(Ljava/util/Collection;)Z(C)Ljava/lang/String;toUpperCasetoLowerCasegetBytes()[B([B)[B([BLjava/lang/String;I)[B"de/tsl2/nano/core/ManagedExceptionforward,(Ljava/lang/Throwable;)Ljava/lang/Throwable;(I[B)VparseInt(C)Ljava/lang/StringBuilder;subSequence(II)Ljava/lang/CharSequence;([B)V(Ljava/io/InputStream;)VhasNextLinenextLineclose(II)I(Ljava/io/Writer;)Vjava/util/function/Consumeraccept(Ljava/lang/Object;)V!?G??????????;???/*???,???	???F*+,???6? ??????	???Vq+?,?
??*?+?*+,??,?*+,??*+?6*,?6?	?	??*?
+?`???*????.ABCDE#F,H3I:JJKLM?>3>??:7??q??q??q??q???[@??P???????
?????????	???Q	*+,???V?*	??	??	??	??	????Y??+?*+??,?*,??6?
????6+??*+,??*???`#a-b/d=eFfQi?>Y??Y??Y??Y??Y??#6???	@?
	A

	???Q	*+,???q?*	??	??	??	??	?????+?,???*?+?%*,?	6???*?
?*??,?)*+?	6???*?
?*+?`?
?*+?	6???L6*,+?``?	6???*?6*+?`???r????$?)?+?1?9?=?E?J?O?Q?W?c?k?p?u?w?z?}????????????\	??E??kB??? ??????????????????"
@???????	???F*+,????? ??????	???P~+?*,?
6?	*??*??,?"*+?
6?	*??*+?`??*+?
6?	L6*,+?``?
6?	*?6*+?`???J??????#?+?0?6?B?J?O?R?U?e?j?p??R??+??J4??e??~??~??~??~?????????	????++?M?Y*?N6,??-,4?????-??????? ?&??4??+??+??&?????????	????>=*??*??*??W???*?=?*????*?W????????$?4?=?? >??>??<???	?	???J*+,???
??? ??????	????*+?
6?*+?`,?W??	?4????????????	????K+?*?N?Y*??:-??"-? W,-?!?"?#?$W???-?%W?&??	(>E?4K??K??K??	B??3???K??????%??	????B>+?*?:?Y?':??,? W?????%W*?(*?)W??*
)*+,-&.,04192@3?>B??B??B??@??6??-???
??????E*?
*?*???=????A?	???5??,<-M*?*?.?/?*?0K*?1?
*?1?2K*?3?0*?*N?Y?4,?56?5*?3?7?89?5?M?*?:N,?d<-?%-???Y?4-??5,?5??-??6
IJLNOQ%R/T6U;VcXhZo[?4;(???????????h/?????3??,@?	???;*?;??f?????	???2??,?<*?1?
*?1?2K*?3?
*?3?<K*?#?*?#=`?>K*????*????:?Y?2h?@:????66?K?Y?4??Y?4A?5?8B?5???52?CD?5??5W?????? E?F?GY?d?HS?I?5W?N?*?:N-??Zqstv#w-y4zA|H}Q~`p?z????????????????????\	sO??Q???`???p|??????????????????h	@?)??B??/?????????????#????	???=	?J????	??	??	???t??Y?:*?d6???6*``????*??*?	*???Y?:6??KW?????*?$W?LW??LW*?$W?&??F?
???#?0?6?I?T?^?e?k?o?v????????\	#
??W????????????
????TB??
??AE??
??	??OMM>6?Y*?N:M?OY>?,+??%+?2:?:?::`?PW????&??&	?????'?0?:?I??R0??:??O?O?L	?J??G
?=???????6	
?P
*+QR?S????
?
?
?	???6?Y*?N:+?T:?U:		?V?X	?W:
?Y?4,?5
?C-?5?:?XY6?%+
?Y:?`?:?PW??ӧ???&??*
??
??1?J?X?b?z?}??f
b?1I?
J3???????????
v?n??n?d?
?????+???????/?	?????? ??Q?ZY?[:6*+,?\YN?]?'-?^W*?#???*?#-?	-?`6????#?_?`???	???'?.?B?>Q!?Q"?Q#$9%?	H&'E???	H&(?!?)?5*?+?)?,-?G	*+,?\??? 	!?	"?	#$	,.?M*+,?
YO?\??? !?"????,/?a	u+?:*?:?a?^,?N*??;?b?c:??b??c:?**?:,???d:??d:???B&'(*+",..;/C0H1N2W3Z5f=o?rA?pN	??.,??c??o??u!?u"?u??u??u#$o01g2???;3??????45??5+??**?b?c??Y?4M>+??,*+.?c?5W????,???FGHIJ*I0L?*??52?5#$??
?	???67?6*?*N?Y-?+?,?h`?:66,??>-?,.??0?Y?4-,.??5+?5??$W,.6????-?d?-?
?$W?&??2rstu'v2w5yVz\ub|m}y?H B??!?8?9$z:?e?b;??? ??+???,6<?O*?l=*?p???#N6?/-*h*?`h?
*??	`h?S????-??"?????!?G?M??42??O!?O??H=?7?>?A??`?!?``???``??	?@?1*e?f????A?B@?4
*?gh?f????
C?DE?3	*ij?k????	C??FG??`?Y+?h?M*?lN6+??*+2?,?Y?4+2?C-?5??$W????,?m*??,,?m*?d?n?,?&???
???#?=?C??4.??`H?`I?
S?NJ?????'?C??KG??B?Y+?h?M*?lN6+??$+2?,-?GY+2S?I?$W????,?&???
???#?7?=??4(??BL?BI?
5?0M?????!?NO?<*D?o?????P?NQ??=*,?fN?pY?q:6-??-2?r?s?tW????,??u?v??????*?0??>??=?=P?=R?7S>.TU?.TV??`W?XY?x+?*?N-?a?
-?!???
?	??*?????	?????@?ZE?O%?Y?4*?w?x?y?5**???5????%[?\E?O%?Y?4*?w?x?z?5**???5????%[?]^??;=*??5*2??*S?*2?*2?*???*S???˱?04:"? 8??;_?;`????ab?2*?{?|??(???ac?|*}?~+??N-??W???67
89?*
%d??e?=??Lfgh?9??Y*??????D?ij	kE?1*????N?l?	mO??3?Y*??@M>*??,*`??????W????,???RST(S.V?* ??3l?3n?'?????oh?9??Y*??
????Z?ij	pE?1*
????^?q?	rs?j*??*???*??j?????t?@*?u	vE?Q'*?Y?4??5???5??5???5???k??t?'w?	xy?6??Y*?{????{??	z{?1*?????|}	z~?<*+??????|}?	z?? \N??Y*??N?Y?4:-???%?Y?4+?5-???5,?5??5W????:-?-???:-?-???DOOQO?2?????=?D?H?L?O?U?Y??4;?\|}\??\?Z???0???(?????????	?	???Pa+??*??I*?*?z:+?zL66+??7+?w`??6??(??	d?oI6????(??B???
??????+?<?A?C?U?Y?_??H<#??"=??a??a??S??J??B???G????? ???I?????	?E?J*??*??k?????????	???y??Y??L??Y+??M*,??+????????? ???????????????????0??




© 2015 - 2024 Weber Informatics LLC | Privacy Policy