Searched refs:IStringConverter (Results 1 – 14 of 14) sorted by relevance
21 import com.beust.jcommander.IStringConverter;46 private static Map<Class, Class<? extends IStringConverter<?>>> m_classConverters;67 m_classConverters.put(pathClass, (Class<? extends IStringConverter<?>>)pathConverterClass); in m_classConverters.put()75 public Class<? extends IStringConverter<?>> getConverter(Class forType) { in getConverter()
21 import com.beust.jcommander.IStringConverter;28 public class StringConverter implements IStringConverter<String> {
21 import com.beust.jcommander.IStringConverter;28 public class NoConverter implements IStringConverter<String> {
21 import com.beust.jcommander.IStringConverter;30 public class FileConverter implements IStringConverter<File> {
21 import com.beust.jcommander.IStringConverter;31 public class PathConverter implements IStringConverter<Path> {
21 import com.beust.jcommander.IStringConverter;28 abstract public class BaseConverter<T> implements IStringConverter<T> {
1218 public <T> Class<? extends IStringConverter<T>> findConverter(Class<T> cls) { in findConverter()1220 Class<? extends IStringConverter<T>> result = f.getConverter(cls); in findConverter()1242 Class<? extends IStringConverter<?>> converterClass = annotation.converter(); in convertValue()1260 ? findConverter((Class<? extends IStringConverter<?>>) elementType) in convertValue()1264 converterClass = (Class<? extends IStringConverter<?>>) elementType; in convertValue()1268 IStringConverter<?> converter; in convertValue()1296 IStringConverter<?> listConverter = in convertValue()1323 private Object convertToList(String value, IStringConverter<?> converter, in convertToList()1334 private IStringConverter<?> instantiateConverter(String optionName, in instantiateConverter()1335 Class<? extends IStringConverter<?>> converterClass) in instantiateConverter()[all …]
76 Class<? extends IStringConverter<?>> converter() default NoConverter.class; in converter()83 Class<? extends IStringConverter<?>> listConverter() default NoConverter.class; in listConverter()
34 public interface IStringConverter<T> { interface
29 <T> Class<? extends IStringConverter<T>> getConverter(Class<T> forType); in getConverter()
5 import com.beust.jcommander.IStringConverter;30 public static class UppercaseConverter implements IStringConverter<List<String>> {
38 private static final Map<Class, Class<? extends IStringConverter<?>>> MAP = new HashMap() {{44 public Class<? extends IStringConverter<?>> getConverter(Class forType) {
21 public class HostPortConverter implements IStringConverter<HostPort> {
6 public class SetConverter implements IStringConverter<SortedSet<Integer>> {