de.tsl2.nano.core.util.StringUtil.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.terminal Show documentation
Show all versions of tsl2.nano.terminal Show documentation
TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)
???? 4?
G?
??
??
??
#?
#?
#?
#?
#?
#??
??
?
?
?
?
#??
?
??
?
?
?
??
?
??
?????
?
??
??
?????
?
??
?
?
?
?
G??????
G?
??
??? 1??
?
?? 3?
??
#?
?? 3??
#? ?
???
???
???
+?
??
??
?
??
?
?
???
?? 1???????
? 1??
Z?
??
??????>
??
??
??
???
#?
????
#
#
?
?
?
p?
??
p
p?
?
#?
#
#
#
#
?
#
?
?
?
?
+
? ?
?
?!
?"#
?$
?%
?&
?'
#()*
??+
?,-.
??/0
VAR_REGEXP Ljava/lang/String;
ConstantValue1 STR_ANY2 XTAG ()V Code LineNumberTable LocalVariableTable this #Lde/tsl2/nano/core/util/StringUtil; substring J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; data from to subEnclosing K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String; iFrom I iTo constrain Z
StackMapTable? last L(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String; i K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String; start L(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZ)Ljava/lang/String; j Q(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; trim 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; src charactersToTrim carr [C sb ?? (Ljava/lang/StringBuilder;C)V c C replace @(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V str
expression replacement A(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; regex transformer Lde/tsl2/nano/core/ITransformer; matcher Ljava/util/regex/Matcher; result Ljava/lang/StringBuffer; LocalVariableTypeTable FLde/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;)I count toString &(Ljava/lang/Object;)Ljava/lang/String; obj Ljava/lang/Object; '(Ljava/lang/Object;I)Ljava/lang/String; o maxLength postfix toFormattedString maxLineCount ((Ljava/lang/Object;IZ)Ljava/lang/String; array [Ljava/lang/Object;
strBuilder showLines? fixString (IC)Ljava/lang/String; fixLength fillChar )(Ljava/lang/String;ICZ)Ljava/lang/String;
shiftRight origin rightFill buf
fillLength
fillString
insertObjects 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; text objects q n t insertProperties 5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
properties Ljava/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; value name vname
key_prefix key_postfix keySet Ljava/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;
extractAll A(Ljava/lang/CharSequence;Ljava/lang/String;[I)[Ljava/lang/String; source regexp groups [I e all Ljava/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; p Ljava/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 splitIndexes s lastIndex ((Ljava/lang/String;I)[Ljava/lang/String; length [Ljava/lang/String; splitWordBinding '(Ljava/lang/String;)[Ljava/lang/String; word splitCamelCase ccName spaceCamelCase &(Ljava/lang/String;)Ljava/lang/String; concat )([C[Ljava/lang/Object;)Ljava/lang/String; sep names ssep
concatWrap wrap wwrap format '(Ljava/lang/String;I)Ljava/lang/String; maxLineWidth 9(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String; CR items lines Ljava/util/ArrayList; )Ljava/util/ArrayList;
findRegExp 9(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String; toFirstUpper string toFirstLower replaceNulls ([Ljava/lang/Object;Z)V strs useNull
cryptoHash (Ljava/lang/String;)[B )(Ljava/lang/String;Ljava/lang/String;I)[B Ljava/lang/Exception; algorithm toHexString ([B)Ljava/lang/String; bytes [B
fromHexString hex fromBaseString base toDecString
fromDecString number cut 3(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; stream Ljava/io/InputStream; ;(Ljava/io/InputStream;Ljava/lang/String;)Ljava/lang/String; lineEnd M(Ljava/io/InputStream;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; lineStart scanner Ljava/util/Scanner;#9:
fuzzyMatch '(Ljava/lang/Object;Ljava/lang/String;)D lb item filter weight D content la removeFormatChars
printToString 1(Ljava/util/function/Consumer;)Ljava/lang/String; Ljava/util/function/Consumer; sw Ljava/io/StringWriter; pw Ljava/io/PrintWriter; 4Ljava/util/function/Consumer; H(Ljava/util/function/Consumer;)Ljava/lang/String;
SourceFile StringUtil.java ? ? ? ? ? ? ? ?;<=<=> ??;@ ?A ? ?BC java/lang/StringBuilder ?D ? ? ?EFGHI ? ? ?J8KL ?M java/lang/StringBuffer7 ?N3OPQRSETUV java/lang/StringWXYZ[NW\ java/lang/Integer ...]^_`Pabc
java/util/Mapde java/util/CollectionWf size=g>WI ]h ? ? ?ij
*
6< [ ]: Wk
tsl2nano.more.elementslmE java/lang/ObjecthnoN ? ?WpWZ ? ?q ${ }e4rs5tPuvwV java/util/LinkedList,/xy6zyi{O|}>SA45 [-./]6@DE \s ([a-z0-9])([A-Z]) $1 $2 ? ?h~NQ java/util/ArrayListb???FGh??E?E??a? UTF-8?ba? java/lang/Exception??? java/math/BigInteger ?? ?AmO?@W??? [
]? ? ? (\w*)
java/io/ByteArrayInputStream ??z~z? java/util/Scanner ???P?E? ?;? [
]+ java/io/StringWriter java/io/PrintWriter ????? <[^>]*> !de/tsl2/nano/core/util/StringUtil \$\{[\w._-]+\} * java/util/regex/Matcher
java/util/Set java/util/Iterator java/util/List java/lang/CharSequence java/util/regex/Pattern java/io/InputStream java/lang/Throwable indexOf (Ljava/lang/String;)I lastIndexOf ()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)V find ()Z appendReplacement E(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher; group de/tsl2/nano/core/ITransformer transform &(Ljava/lang/Object;)Ljava/lang/Object; append ,(Ljava/lang/String;)Ljava/lang/StringBuffer;
appendTail 2(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer; setLength 3(Ljava/lang/StringBuffer;)Ljava/lang/StringBuilder; getClass ()Ljava/lang/Class; java/lang/Class isArray de/tsl2/nano/core/util/Util asList *(Ljava/lang/Object;)Ljava/util/Collection; entrySet ()Ljava/util/Set; -(Ljava/lang/String;)Ljava/lang/StringBuilder; size valueOf toArray ()[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; hasNext next ()Ljava/lang/Object; get isEmpty (Ljava/lang/Object;)Z add (([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; toUpperCase toLowerCase getBytes ()[B ([B)[B ([BLjava/lang/String;I)[B "de/tsl2/nano/core/ManagedException forward ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; (I[B)V parseInt (C)Ljava/lang/StringBuilder; subSequence (II)Ljava/lang/CharSequence; ([B)V (Ljava/io/InputStream;)V hasNextLine nextLine close (II)I (Ljava/io/Writer;)V java/util/function/Consumer accept (Ljava/lang/Object;)V ! ? G ? ? ? ? ? ? ? ? ? ? ; ? ? ? / *? ? ? , ? ? ? ? ? ? F *+,? ? ? 6 ? ? ? ? ? ? ? ? ? ? V q+? ,?
? ? *?+? *+,? ?,? *+,? ?*+? 6*,? 6? ? ? ?*?
+? `? ? ? *? ? ? ? . A B C D E # F , H 3 I : J J K L M ? > 3 > ? ? : 7 ? ? q ? ? q ? ? q ? ? q ? ? ? [ @ ? ? P ?? ? ? ? ??
? ? ? ?? ? ? ? ? ? ? ? Q *+,? ? ? V ? * ? ? ? ? ? ? ? ? ? ? ? ? Y? ? +? *+? ? ,? *,? ? 6?
? ?? ? 6+? ? *+,? ?*? ? ? ` # a - b / d = e F f Q i ? > 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 ? ? k B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "
@ ? ? ? ? ? ? ? ? ? ? F *+,? ? ? ? ? ? ? ? ? ? ? ? ? ? P ~+? *,?
6? *? ?*? ?,? "*+?
6? *? ?*+? `? ?*+?
6? L6*,+? ``?
6? *? 6*+? `? ? ? J ? ? ? ? ? ? # ? + ? 0 ? 6 ? B ? J ? O ? R ? U ? e ? j ? p ? ? R ? ? + ? ? J 4 ? ? e ? ? ~ ? ? ~ ? ? ~ ? ? ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ++? M? Y*? N6,?? -,4? ????-? ? ? ? ? ? ? ? &