Package gg.xp.xivdata.data
Class ActionUtils
java.lang.Object
gg.xp.xivdata.data.ActionUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
adjustName
(String originalName) Given a name, if there are Roman numerals at the end, truncate themA function that, given names, will keep the first name intact, but chop everything other than the Roman numerals at the end off of subsequent names.
-
Method Details
-
adjustName
Given a name, if there are Roman numerals at the end, truncate them- Parameters:
originalName
- The original name- Returns:
- The truncated name
-
adjustNameReverse
A function that, given names, will keep the first name intact, but chop everything other than the Roman numerals at the end off of subsequent names.- Returns:
- A function that returns the original name, or the Roman numerals
-