aQute.bnd.build.model.conversions
Class SimpleListConverter<R>

java.lang.Object
  extended by aQute.bnd.build.model.conversions.SimpleListConverter<R>
All Implemented Interfaces:
Converter<List<R>,String>

public class SimpleListConverter<R>
extends Object
implements Converter<List<R>,String>


Method Summary
 List<R> convert(String input)
           
static Converter<List<String>,String> create()
           
static
<R> Converter<List<R>,String>
create(Converter<R,? super String> itemConverter)
           
 List<R> error(String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static <R> Converter<List<R>,String> create(Converter<R,? super String> itemConverter)

create

public static Converter<List<String>,String> create()

convert

public List<R> convert(String input)
                throws IllegalArgumentException
Specified by:
convert in interface Converter<List<R>,String>
Throws:
IllegalArgumentException

error

public List<R> error(String msg)
Specified by:
error in interface Converter<List<R>,String>


Copyright © 2014 aQute SARL. All rights reserved.