Class IterableValueConverter

  • All Implemented Interfaces:
    ConfigValueConverter<java.lang.Iterable<java.lang.String>>

    public class IterableValueConverter
    extends java.lang.Object
    implements ConfigValueConverter<java.lang.Iterable<java.lang.String>>
    Converts comma separated list of strings into Iterable containing String elements.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.google.common.base.Splitter COMMA_SPLITTER  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<java.lang.String> convert​(java.lang.String input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COMMA_SPLITTER

        public static final com.google.common.base.Splitter COMMA_SPLITTER
    • Constructor Detail

      • IterableValueConverter

        public IterableValueConverter()
    • Method Detail

      • convert

        public java.lang.Iterable<java.lang.String> convert​(java.lang.String input)
        Specified by:
        convert in interface ConfigValueConverter<java.lang.Iterable<java.lang.String>>