Class StringUtils
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.util.StringUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringallocateName(String base, boolean forceNumberSuffix, Predicate<String> skip) static StringnumberSuffix(String base) Return the substring of a string that only consists of digits.
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
numberSuffix
Return the substring of a string that only consists of digits.Examples:
"abc123" -> "123" "abc" -> "" "abc123.456" -> "456"
-
allocateName
-