org.apache.commons.lang3.StringUtils.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?
????
??
??
????
??
??
??
?
???
??
?
??
??
?
?
?
?
?
????
?? ??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
?
??
??
??
??
??
??
?????
?
?
??
? ???
8????????? ?
??
??
??
??
?
8?
8?
8?
??
??
?
??
??
??
??
??
??
??
??
???
S?
S?
S?
S?
S?
S?
S?
S?
??
S?
?
?
?
?
?
?
?
?
l
S?
o
?
?
?
?
?
?
!
?"
?#
?$
%
&
'
(
?)
?*
?+
?,
?-
?.
?/
?0
12
?3
S
S4
?5
?6
?7
?89:;
?<
?=
?>?@
AB
AC????????
?D
?E@Y
?F??
?G
?H@ I?
SJ
S?
SK
?L
?M
?N
?O
?P
?Q
?R
S
TU
VWX SPACE Ljava/lang/String;
ConstantValue EMPTY LFY CRZ INDEX_NOT_FOUND I???? PAD_LIMIT ()V Code LineNumberTable LocalVariableTable this &Lorg/apache/commons/lang3/StringUtils; isEmpty (Ljava/lang/CharSequence;)Z cs Ljava/lang/CharSequence;
StackMapTable
isNotEmpty
isAnyEmpty ([Ljava/lang/CharSequence;)Z arr$ [Ljava/lang/CharSequence; len$ i$ css ? isNoneEmpty isBlank strLen i
isNotBlank
isAnyBlank isNoneBlank trim &(Ljava/lang/String;)Ljava/lang/String; str?
trimToNull ts? trimToEmpty strip stripToNull stripToEmpty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
stripChars
stripStart start stripEnd end stripAll (([Ljava/lang/String;)[Ljava/lang/String; strs [Ljava/lang/String; :([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; strsLen newArr stripAccents input pattern Ljava/util/regex/Pattern;
decomposed equals 3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z cs1 cs2 equalsIgnoreCase str1 str2 indexOf (Ljava/lang/CharSequence;I)I seq
searchChar (Ljava/lang/CharSequence;II)I startPos 3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)I searchSeq 4(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)I ordinalIndexOf searchStr ordinal 5(Ljava/lang/CharSequence;Ljava/lang/CharSequence;IZ)I lastIndex Z found index indexOfIgnoreCase endLimit lastIndexOf lastOrdinalIndexOf lastIndexOfIgnoreCase contains (Ljava/lang/CharSequence;I)Z containsIgnoreCase len max containsWhitespace
indexOfAny (Ljava/lang/CharSequence;[C)I j ch C searchChars [C csLen csLast searchLen
searchLast[, -(Ljava/lang/CharSequence;Ljava/lang/String;)I containsAny (Ljava/lang/CharSequence;[C)Z csLength searchLength 4(Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Z searchCharSequence searchCharSequences
indexOfAnyBut ch2 chFound containsOnly valid -(Ljava/lang/CharSequence;Ljava/lang/String;)Z
validChars containsNone invalidChars 4(Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)I search
searchStrs sz ret tmp lastIndexOfAny substring '(Ljava/lang/String;I)Ljava/lang/String; ((Ljava/lang/String;II)Ljava/lang/String; left right mid pos substringBefore separator substringAfter substringBeforeLast substringAfterLast substringBetween tag J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; open close substringsBetween K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; closeLen openLen list Ljava/util/List; LocalVariableTypeTable $Ljava/util/List;\ split '(Ljava/lang/String;)[Ljava/lang/String; ((Ljava/lang/String;C)[Ljava/lang/String;
separatorChar 9(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; separatorChars :(Ljava/lang/String;Ljava/lang/String;I)[Ljava/lang/String; splitByWholeSeparator &splitByWholeSeparatorPreserveAllTokens splitByWholeSeparatorWorker ;(Ljava/lang/String;Ljava/lang/String;IZ)[Ljava/lang/String; preserveAllTokens separatorLength
substrings Ljava/util/ArrayList; numberOfSubstrings beg )Ljava/util/ArrayList;? splitPreserveAllTokens splitWorker )(Ljava/lang/String;CZ)[Ljava/lang/String; match lastMatch sep sizePlus1 splitByCharacterType splitByCharacterTypeCamelCase ((Ljava/lang/String;Z)[Ljava/lang/String;
newTokenStart type camelCase c
tokenStart currentType join '([Ljava/lang/Object;)Ljava/lang/String; elements [Ljava/lang/Object; [TT; Signature .([TT;)Ljava/lang/String; (([Ljava/lang/Object;C)Ljava/lang/String; array ([JC)Ljava/lang/String; [J ([IC)Ljava/lang/String; [I ([SC)Ljava/lang/String; [S ([BC)Ljava/lang/String; [B ([CC)Ljava/lang/String; ([FC)Ljava/lang/String; [F ([DC)Ljava/lang/String; [D *([Ljava/lang/Object;CII)Ljava/lang/String;
startIndex endIndex noOfItems buf Ljava/lang/StringBuilder;? ([JCII)Ljava/lang/String; ([ICII)Ljava/lang/String; ([BCII)Ljava/lang/String; ([SCII)Ljava/lang/String; ([CCII)Ljava/lang/String; ([DCII)Ljava/lang/String; ([FCII)Ljava/lang/String; 9([Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String; ;([Ljava/lang/Object;Ljava/lang/String;II)Ljava/lang/String; )(Ljava/util/Iterator;C)Ljava/lang/String; result obj Ljava/lang/Object; iterator Ljava/util/Iterator; first Ljava/util/Iterator<*>;X ,(Ljava/util/Iterator<*>;C)Ljava/lang/String; :(Ljava/util/Iterator;Ljava/lang/String;)Ljava/lang/String; =(Ljava/util/Iterator<*>;Ljava/lang/String;)Ljava/lang/String; )(Ljava/lang/Iterable;C)Ljava/lang/String; iterable Ljava/lang/Iterable; Ljava/lang/Iterable<*>; ,(Ljava/lang/Iterable<*>;C)Ljava/lang/String; :(Ljava/lang/Iterable;Ljava/lang/String;)Ljava/lang/String; =(Ljava/lang/Iterable<*>;Ljava/lang/String;)Ljava/lang/String; deleteWhitespace chs count removeStart remove removeStartIgnoreCase removeEnd removeEndIgnoreCase '(Ljava/lang/String;C)Ljava/lang/String; chars replaceOnce text searchString replacement replacePattern source regex
removePattern replace K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
replLength increase replaceEach L(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
searchList replacementList replaceEachRepeatedly
timeToLive N(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;ZI)Ljava/lang/String; greater repeat replacementLength noMoreMatchesForReplIndex [Z textIndex replaceIndex tempIndex
textLength? replaceChars ((Ljava/lang/String;CC)Ljava/lang/String; replaceChar modified replaceCharsLength strLength overlay :(Ljava/lang/String;Ljava/lang/String;II)Ljava/lang/String; temp chomp lastIdx last
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; chop ch0 ch1 output2 inputLength outputLength 9(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String; (CI)Ljava/lang/String; rightPad size ((Ljava/lang/String;IC)Ljava/lang/String; padChar pads 9(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String; padding padChars padStr padLen leftPad length (Ljava/lang/CharSequence;)I center upperCase 8(Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String; locale Ljava/util/Locale; lowerCase
capitalize firstChar uncapitalize swapCase buffer countMatches sub idx (Ljava/lang/CharSequence;C)I isAlpha isAlphaSpace isAlphanumeric isAlphanumericSpace isAsciiPrintable isNumeric isNumericSpace isWhitespace isAllLowerCase isAllUpperCase
defaultString
defaultStr defaultIfBlank J(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/CharSequence; TT; ((TT;TT;)TT; defaultIfEmpty reverse reverseDelimited
abbreviate maxWidth offset abrevMarker abbreviateMiddle middle targetSting startOffset endOffset builder
difference at indexOfDifference ([Ljava/lang/CharSequence;)I arrayPos comparisonChar stringPos
anyStringNull allStringsNull arrayLen shortestStrLen
longestStrLen firstDiff getCommonPrefix '([Ljava/lang/String;)Ljava/lang/String; smallestIndexOfDiff getLevenshteinDistance cost _d t_j s t n m p d? min threshold boundary getJaroWinklerDistance 3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)D second DEFAULT_SCALING_FACTOR D jaro cl
matchScore score shorter longer
halflength m1 m2 transpositions dist getFuzzyDistance E(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/util/Locale;)I termChar queryChar termCharacterMatchFound
queryIndex term query
termLowerCase queryLowerCase termIndex previousMatchingCharacterIndex] getSetOfMatchingCharacterWithin E(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Ljava/lang/String; limit common copy commonPrefixLength
startsWith prefix startsWithIgnoreCase 4(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z
ignoreCase
startsWithAny string
searchStrings endsWith suffix endsWithIgnoreCase strOffset normalizeSpace
actualChar newChars whitespacesCount startWhitespaces endsWithAny appendIfMissing X(Ljava/lang/String;Ljava/lang/CharSequence;Z[Ljava/lang/CharSequence;)Ljava/lang/String; suffixes W(Ljava/lang/String;Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/String; appendIfMissingIgnoreCase prependIfMissing prefixes prependIfMissingIgnoreCase toString (([BLjava/lang/String;)Ljava/lang/String; bytes charsetName
Exceptions^ toEncodedString 0([BLjava/nio/charset/Charset;)Ljava/lang/String; charset Ljava/nio/charset/Charset;?_ wrap wrapWith
SourceFile StringUtils.java ? ?[
` ? ?a ?b ? ?cde"f ? ? ? ? ?g ? ? ? ? ?h ? ? ? ?
iKjKk ? ? java/lang/String \p{InCombiningDiacriticalMarks}+lmnorstuvwxyz ?{|$}~?
???f??&'??45 ;'>5B5
??WY
?? ? java/util/ArrayList\?{ `??ekyzyono??? ???????????????????? java/lang/StringBuilder ???????g??????????????h????????????y?{?????m??Y?? java/lang/IllegalStateException [Aborting to protect against StackOverflowError - output of one loop is the input of another ?? "java/lang/IllegalArgumentException .Search and Replace array lengths don't match: vs S}??? ??? ???L????? ? ?g???g???f???f???f???f?f?f?f,?eg,???.M Minimum abbreviation width is 4 ... +Minimum abbreviation width with offset is 7.L::; Strings must not be null Threshold must not be negative?????^Wx??std Locale must not be null ????EFy|y?|????? ??_?? ?? $org/apache/commons/lang3/StringUtils java/lang/Object
java/lang/CharSequence java/util/List java/util/Locale $java/io/UnsupportedEncodingException java/nio/charset/Charset ()I #org/apache/commons/lang3/ArrayUtils ([Ljava/lang/Object;)Z charAt (I)C java/lang/Character (C)Z ()Ljava/lang/String; ()Z (I)I (I)Ljava/lang/String; (II)Ljava/lang/String; java/util/regex/Pattern compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; java/text/Normalizer$Form Form InnerClasses NFD Ljava/text/Normalizer$Form; java/text/Normalizer normalize G(Ljava/lang/CharSequence;Ljava/text/Normalizer$Form;)Ljava/lang/String; matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; java/util/regex/Matcher
replaceAll (Ljava/lang/Object;)Z java/lang/Math (II)I *org/apache/commons/lang3/CharSequenceUtils
regionMatches 7(Ljava/lang/CharSequence;ZILjava/lang/CharSequence;II)Z ([C)Z isHighSurrogate toCharArray ()[C (Ljava/lang/CharSequence;)[C (Ljava/lang/String;)I (Ljava/lang/String;I)I EMPTY_STRING_ARRAY add toArray (([Ljava/lang/Object;)[Ljava/lang/Object; getType (C)I ([CII)V (I)V append (C)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; (D)Ljava/lang/StringBuilder; (F)Ljava/lang/StringBuilder; -(Ljava/lang/String;)Ljava/lang/StringBuilder; java/util/Iterator hasNext next ()Ljava/lang/Object; $org/apache/commons/lang3/ObjectUtils &(Ljava/lang/Object;)Ljava/lang/String; java/lang/Iterable ()Ljava/util/Iterator; (Ljava/lang/String;)Z .(Ljava/lang/String;I)Ljava/util/regex/Pattern; (Ljava/lang/String;)V (CC)Ljava/lang/String; ([C)V valueOf (C)Ljava/lang/String; concat toUpperCase &(Ljava/util/Locale;)Ljava/lang/String; toLowerCase isTitleCase toTitleCase (C)C isLowerCase isUpperCase isLetter isLetterOrDigit "org/apache/commons/lang3/CharUtils isDigit ()Ljava/lang/StringBuilder; ([Ljava/lang/Object;)V java/util/Arrays fill ([IIII)V ([II)V round (D)J (Ljava/lang/CharSequence;)V setCharAt (IC)V ([BLjava/lang/String;)V defaultCharset ()Ljava/nio/charset/Charset; ([BLjava/nio/charset/Charset;)V ! ? ? ? ? ? ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3 *? ? ?
? ? ? ? ? ? ? ? I *? *? ? ? ? ? ? ? ? ? ?
@ ? ? ? B
*? ? ? ? ? ? ?
? ? ? @ ? ? ? ? ? ,*? ? ?*L+?=>? +2:? ? ?????? ? ? ? ? ? " ? $ ? * ? 4
? ? ? ? ? ? ? ? , ? ? ? ? ?? ? ? ? ? B
*? ? ? ? ? ?
? ? ? @ ? ? ? ? /*? *? Y