Uses of Class
top.focess.qq.api.command.DataConverter
-
Packages that use DataConverter Package Description top.focess.qq.api.command top.focess.qq.api.command.converter top.focess.qq.api.plugin -
-
Uses of DataConverter in top.focess.qq.api.command
Fields in top.focess.qq.api.command declared as DataConverter Modifier and Type Field Description static DataConverter<Boolean>DataConverter. BOOLEAN_DATA_CONVERTERConvert the String argument to Boolean argumentstatic DataConverter<String>DataConverter. DEFAULT_DATA_CONVERTERNever convert it! Put them into DataCollection with their original values.static DataConverter<Double>DataConverter. DOUBLE_DATA_CONVERTERConvert the String argument to Double argumentstatic DataConverter<Integer>DataConverter. INTEGER_DATA_CONVERTERConvert the String argument to Integer argumentstatic DataConverter<Long>DataConverter. LONG_DATA_CONVERTERConvert the String argument to Long argumentMethods in top.focess.qq.api.command with parameters of type DataConverter Modifier and Type Method Description static <V> CommandArgument<V>CommandArgument. of(DataConverter<V> defaultDataConverter)Represents an unknown CommandArgument with a specific DataConverter Note: this argument indicates this position need a V type valuestatic <V> CommandArgument<V>CommandArgument. of(DataConverter<V> dataConverter, V value)Represents a CommandArgument with a specific value Note: this argument indicates this position is a known V value.static <V> CommandArgument<V>CommandArgument. ofNullable(DataConverter<V> dataConverter)Represents a nullable CommandArgument with a specific DataConverter Note: this argument indicates this position is a nullable value.static voidDataCollection. register(Plugin plugin, DataConverter<?> dataConverter, DataCollection.BufferGetter bufferGetter)Register the getter of the bufferConstructors in top.focess.qq.api.command with parameters of type DataConverter Constructor Description DataCollection(DataConverter<?>[] dataConverters)Initialize the DataCollection with fixed size. -
Uses of DataConverter in top.focess.qq.api.command.converter
Subclasses of DataConverter in top.focess.qq.api.command.converter Modifier and Type Class Description classCommandDataConverterConvert the String argument to Command argumentclassExceptionDataConverter<T>Simplify theDataConverterclass.classNullDataConverter<T>Simplify theDataConverterclass.classPluginDataConverterConvert the String argument to Plugin argumentConstructor parameters in top.focess.qq.api.command.converter with type arguments of type DataConverter Constructor Description IllegalDataConverterClassException(Class<? extends DataConverter> c, Exception e)Constructs a IllegalDataConverterClassException -
Uses of DataConverter in top.focess.qq.api.plugin
Methods in top.focess.qq.api.plugin with parameters of type DataConverter Modifier and Type Method Description voidPlugin. registerBuffer(DataConverter<?> dataConverter, DataCollection.BufferGetter bufferGetter)Register the getter of the buffer
-