Class CommandDataConverter


  • public class CommandDataConverter
    extends top.focess.command.converter.NullDataConverter<Command>
    Convert the String argument to Command argument
    • Field Detail

      • COMMAND_DATA_CONVERTER

        public static final CommandDataConverter COMMAND_DATA_CONVERTER
        Convert the String argument to Command argument
    • Constructor Detail

      • CommandDataConverter

        public CommandDataConverter()
    • Method Detail

      • convert

        @Nullable
        public Command convert​(String s)
        Specified by:
        convert in class top.focess.command.DataConverter<Command>
      • getTargetClass

        protected Class<Command> getTargetClass()
        Specified by:
        getTargetClass in class top.focess.command.DataConverter<Command>