aQute.bnd.build.model.conversions
Class CollectionFormatter<T>

java.lang.Object
  extended by aQute.bnd.build.model.conversions.CollectionFormatter<T>
All Implemented Interfaces:
Converter<String,Collection<? extends T>>

public class CollectionFormatter<T>
extends Object
implements Converter<String,Collection<? extends T>>


Constructor Summary
CollectionFormatter(String separator)
           
CollectionFormatter(String separator, Converter<String,? super T> itemFormatter)
           
CollectionFormatter(String separator, Converter<String,? super T> itemFormatter, String emptyOutput)
           
CollectionFormatter(String separator, String emptyOutput)
           
 
Method Summary
 String convert(Collection<? extends T> input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionFormatter

public CollectionFormatter(String separator)

CollectionFormatter

public CollectionFormatter(String separator,
                           String emptyOutput)

CollectionFormatter

public CollectionFormatter(String separator,
                           Converter<String,? super T> itemFormatter)

CollectionFormatter

public CollectionFormatter(String separator,
                           Converter<String,? super T> itemFormatter,
                           String emptyOutput)
Method Detail

convert

public String convert(Collection<? extends T> input)
               throws IllegalArgumentException
Specified by:
convert in interface Converter<String,Collection<? extends T>>
Throws:
IllegalArgumentException


Copyright © 2013 aQute SARL. All Rights Reserved.