public class CommandDataConverter extends NullDataConverter<Command>
| 限定符和类型 | 字段和说明 |
|---|---|
static CommandDataConverter |
COMMAND_DATA_CONVERTER
Convert the String argument to Command argument
|
BOOLEAN_DATA_CONVERTER, DEFAULT_DATA_CONVERTER, DOUBLE_DATA_CONVERTER, DOUBLE_PREDICATE, INTEGER_DATA_CONVERTER, INTEGER_PREDICATE, LONG_DATA_CONVERTER, LONG_PREDICATE| 构造器和说明 |
|---|
CommandDataConverter() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
connect(DataCollection dataCollection,
Command command)
Used to put data into the dataCollection
|
Command |
convert(String s)
Convert String argument to target argument
|
protected Class<Command> |
getTargetClass() |
acceptpublic static final CommandDataConverter COMMAND_DATA_CONVERTER
public Command convert(String s)
DataConverterconvert 在类中 DataConverter<Command>s - the target argument in Stringprotected void connect(DataCollection dataCollection, Command command)
DataConverterconnect 在类中 DataConverter<Command>dataCollection - where stores the datacommand - the target argumentDataCollection.write(Class, Object)protected Class<Command> getTargetClass()
getTargetClass 在类中 DataConverter<Command>Copyright © 2022. All rights reserved.