com.beust.jcommander.converters
Class CommaSeparatedConverter

java.lang.Object
  extended by com.beust.jcommander.converters.CommaSeparatedConverter
All Implemented Interfaces:
IStringConverter<List<String>>

public class CommaSeparatedConverter
extends Object
implements IStringConverter<List<String>>

Convert a string of comma separated words into a list of string.

Author:
cbeust

Constructor Summary
CommaSeparatedConverter()
           
 
Method Summary
 List<String> convert(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommaSeparatedConverter

public CommaSeparatedConverter()
Method Detail

convert

public List<String> convert(String value)
Specified by:
convert in interface IStringConverter<List<String>>
Returns:
an object of type created from the parameter value.


Copyright © 2011. All Rights Reserved.