-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.Converter
@ExperimentalUnsignedTypes()@ComponentParam(name = "separator", type = "String", defaultValue = ",")@ComponentParam(name = "prefix", type = "String", defaultValue = "")@ComponentParam(name = "suffix", type = "String", defaultValue = "") public class Converters.UIntArrayConverter extends AbstractConverter<UIntArray>
组件参数说明:
separator - 从字符串转化为数组时使用的分隔符。
prefix - 从字符串转化为数组时使用的前缀。
suffix - 从字符串转化为数组时使用的后缀。
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classConverters.UIntArrayConverter.Default
-
Field Summary
Fields Modifier and Type Field Description private final Stringseparatorprivate final Stringprefixprivate final Stringsuffixprivate final Map<String, Object>componentParamsprivate final Class<UIntArray>targetTypeprivate final StringcomponentId
-
Constructor Summary
Constructors Constructor Description Converters.UIntArrayConverter(Map<String, Object> componentParams)
-
Method Summary
Modifier and Type Method Description final StringgetSeparator()final StringgetPrefix()final StringgetSuffix()final Map<String, Object>getComponentParams()组件参数。组件参数默认会向下传递。Component parameters. Class<UIntArray>getTargetType()StringgetComponentId()UIntArrayconvert(Object value)将指定的对象转化为另一个类型。如果转化失败,则抛出异常。 Converters.UIntArrayConvertercomponentCopy(Map<String, Object> componentParams)-
Methods inherited from class icu.windea.breezeframework.core.component.Converters.UIntArrayConverter
equals, hashCode, toString -
Methods inherited from class icu.windea.breezeframework.core.component.AbstractConverter
convertOrNull -
Methods inherited from class icu.windea.breezeframework.core.component.Converter
componentEquals, componentHashcode, componentToString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSeparator
final String getSeparator()
-
getComponentParams
final Map<String, Object> getComponentParams()
组件参数。组件参数默认会向下传递。
Component parameters. By default, component parameters will pass down.
-
getTargetType
Class<UIntArray> getTargetType()
-
getComponentId
String getComponentId()
-
componentCopy
Converters.UIntArrayConverter componentCopy(Map<String, Object> componentParams)
-
-
-
-