Class StringUtils

java.lang.Object
net.lenni0451.imnbt.utils.StringUtils

public class StringUtils extends Object
  • Constructor Details

    • StringUtils

      public StringUtils()
  • Method Details

    • format

      public static String format(Enum<?> enumValue)
      Format an enum value to a nice looking string.
      Example: "TEST_ENUM" -> "Test Enum"
      Parameters:
      enumValue - The enum value to format
      Returns:
      The formatted string