Package io.smallrye.config.common.utils
Class StringUtil
java.lang.Object
io.smallrye.config.common.utils.StringUtil
- Author:
- Jeff Mesnil (c) 2017 Red Hat inc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic booleanisAsciiLetterOrDigit(char c) static booleanMatches if a dotted property name is part of a dotted path.static booleanisNumeric(CharSequence digits) static booleanisNumeric(CharSequence digits, int begin, int end) static Stringstatic Stringstatic Stringstatic Stringstatic String[]static StringtoLowerCaseAndDotted(String name) static Stringstatic Stringstatic Stringstatic String
-
Method Details
-
split
-
isAsciiLetterOrDigit
public static boolean isAsciiLetterOrDigit(char c) -
replaceNonAlphanumericByUnderscores
-
replaceNonAlphanumericByUnderscores
-
toLowerCaseAndDotted
-
isInPath
Matches if a dotted property name is part of a dotted path.- Parameters:
path- the dotted pathname- a dotted property name- Returns:
trueif the dotted property name ir part of a dotted path, orfalseotherwise.
-
isNumeric
-
isNumeric
-
unquoted
-
unquoted
-
unquoted
-
index
-
unindexed
-
skewer
-
skewer
-