Package 

Class Converter.CollectionConverter

  • All Implemented Interfaces:
    icu.windea.breezeframework.core.component.Component , icu.windea.breezeframework.core.component.ConfigurableComponent , icu.windea.breezeframework.core.component.ConfigurableConverter , icu.windea.breezeframework.core.component.Converter , icu.windea.breezeframework.core.component.GenericConverter , icu.windea.breezeframework.core.component.TypedComponent , icu.windea.breezeframework.core.model.Configurable

    @ConfigParam(name = separator, type = String, defaultValue = ,)@ConfigParam(name = prefix, type = String, defaultValue = )@ConfigParam(name = suffix, type = String, defaultValue = )@ConfigParam(name = delegate, type = list | set, defaultValue = list)@ConfigParamsPassing(target = Converter.ListConverter.class, configParams = !delegate)@ConfigParamsPassing(target = Converter.SetConverter.class, configParams = !delegate) 
    public class Converter.CollectionConverter
    extends AbstractConverter<Collection<?>> implements ConfigurableConverter<Collection<?>>, GenericConverter<Collection<?>>
                        

    配置参数说明:

    • separator - 从字符串转化为集合时使用的分隔符。

    • prefix - 从字符串转化为集合时使用的前缀。

    • suffix - 从字符串转化为集合时使用的后缀。

    • delegate - 委托的转化器(列表转化器/集转化器)。