com.beust.jcommander.converters
Class CommaSeparatedConverter
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommaSeparatedConverter
public CommaSeparatedConverter()
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.