Class StringUtil
java.lang.Object
com.github.relativobr.supreme.libs.guizhanlib.utils.StringUtil
Java-8 port of (the subset of) GuizhanLib's
StringUtil that Supreme actually used -
vendored for the same reason as ChatUtil/Localization. Only dehumanize(String) is ported; upstream's humanize(String) is unused by Supreme and
dropped.-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringdehumanize(String str) Converts a string into upper-case-with-underscores form, matching upstream GuizhanLib's behaviour (spaces and hyphens become underscores, then upper-cased).
-
Method Details
-
dehumanize
Converts a string into upper-case-with-underscores form, matching upstream GuizhanLib's behaviour (spaces and hyphens become underscores, then upper-cased).
-