java.lang.Object
org.lushplugins.chatcolorhandler.parsers.custom.HexParser
All Implemented Interfaces:
Parser

public class HexParser extends Object implements Parser
  • Field Details

    • INSTANCE

      public static final HexParser INSTANCE
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Parser
      Returns:
      The type of the parser ParserTypes
    • parseString

      public String parseString(@NotNull @NotNull String string, @NotNull @NotNull Parser.OutputType outputType)
      Description copied from interface: Parser
      Parse a string
      Specified by:
      parseString in interface Parser
      Parameters:
      string - The string to parse
      outputType - The output type to parse for
      Returns:
      The parsed string