Class ChatColorUtil


  • public class ChatColorUtil
    extends java.lang.Object
    • Field Detail

      • STRIP_COLOR_PATTERN

        public static final java.util.regex.Pattern STRIP_COLOR_PATTERN
    • Constructor Detail

      • ChatColorUtil

        public ChatColorUtil()
    • Method Detail

      • isColorCode

        public static boolean isColorCode​(char c)
      • getColorOrdinal

        public static int getColorOrdinal​(char c)
      • translateAlternateColorCodes

        public static java.lang.String translateAlternateColorCodes​(java.lang.String s)
      • stripColor

        public static java.lang.String stripColor​(java.lang.String input)