Class ActionUtils

java.lang.Object
gg.xp.xivdata.data.ActionUtils

public final class ActionUtils extends Object
  • Method Details

    • adjustName

      public static String adjustName(String originalName)
      Given a name, if there are Roman numerals at the end, truncate them
      Parameters:
      originalName - The original name
      Returns:
      The truncated name
    • adjustNameReverse

      public static Function<String,String> 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