@Retention(RUNTIME) @Target({METHOD,TYPE}) @Documented public static @interface Config.Separator
String
as separator to tokenize properties values specified as a
single string value, into elements for vectors and collections.
The value specified is used as per String.split(String, int)
with int=-1, every element is also
trimmed out from spaces using String.trim()
.
Notice that Config.TokenizerClass
and Config.Separator
do conflict with each-other when they are both specified
together on the same level:
Config.TokenizerClass
and Config.Separator
both together on the same method
Config.TokenizerClass
and Config.Separator
both together on the same class
UnsupportedOperationException
will be thrown when the corresponding conversion
is executed.String value
String.split(String, int)
with int=-1Copyright © 2012–2020 Luigi R. Viggiano. All rights reserved.