| 程序包 | 说明 |
|---|---|
| top.focess.qq.api.command | |
| top.focess.qq.api.command.converter | |
| top.focess.qq.api.plugin |
| 限定符和类型 | 字段和说明 |
|---|---|
static DataConverter<Boolean> |
DataConverter.BOOLEAN_DATA_CONVERTER
Convert the String argument to Boolean argument
|
static DataConverter<String> |
DataConverter.DEFAULT_DATA_CONVERTER
Never convert it!
|
static DataConverter<Double> |
DataConverter.DOUBLE_DATA_CONVERTER
Convert the String argument to Double argument
|
static DataConverter<Integer> |
DataConverter.INTEGER_DATA_CONVERTER
Convert the String argument to Integer argument
|
static DataConverter<Long> |
DataConverter.LONG_DATA_CONVERTER
Convert the String argument to Long argument
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
DataCollection.register(Plugin plugin,
DataConverter<?> dataConverter,
DataCollection.BufferGetter bufferGetter)
Register the getter of the buffer
|
@NotNull Command.Executor |
Command.Executor.setDataConverters(DataConverter<?>... dataConverters)
Set the DataConverters for the arguments.
|
| 构造器和说明 |
|---|
DataCollection(DataConverter<?>[] dataConverters)
Initialize the DataCollection with fixed size.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CommandDataConverter
Convert the String argument to Command argument
|
class |
ExceptionDataConverter<T>
Simplify the
DataConverter class. |
class |
NullDataConverter<T>
Simplify the
DataConverter class. |
class |
PluginDataConverter
Convert the String argument to Plugin argument
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Plugin.registerBuffer(DataConverter<?> dataConverter,
DataCollection.BufferGetter bufferGetter)
Register the getter of the buffer
|
Copyright © 2022. All rights reserved.