Home
last modified time | relevance | path

Searched refs:IStringConverter (Results 1 – 14 of 14) sorted by relevance

/external/jcommander/src/main/java/com/beust/jcommander/internal/
DDefaultConverterFactory.java21 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()
/external/jcommander/src/main/java/com/beust/jcommander/converters/
DStringConverter.java21 import com.beust.jcommander.IStringConverter;
28 public class StringConverter implements IStringConverter<String> {
DNoConverter.java21 import com.beust.jcommander.IStringConverter;
28 public class NoConverter implements IStringConverter<String> {
DFileConverter.java21 import com.beust.jcommander.IStringConverter;
30 public class FileConverter implements IStringConverter<File> {
DPathConverter.java21 import com.beust.jcommander.IStringConverter;
31 public class PathConverter implements IStringConverter<Path> {
DBaseConverter.java21 import com.beust.jcommander.IStringConverter;
28 abstract public class BaseConverter<T> implements IStringConverter<T> {
/external/jcommander/src/main/java/com/beust/jcommander/
DJCommander.java1218 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 …]
DParameter.java76 Class<? extends IStringConverter<?>> converter() default NoConverter.class; in converter()
83 Class<? extends IStringConverter<?>> listConverter() default NoConverter.class; in listConverter()
DIStringConverter.java34 public interface IStringConverter<T> { interface
DIStringConverterFactory.java29 <T> Class<? extends IStringConverter<T>> getConverter(Class<T> forType); in getConverter()
/external/jcommander/src/test/java/com/beust/jcommander/args/
DArgsList.java5 import com.beust.jcommander.IStringConverter;
30 public static class UppercaseConverter implements IStringConverter<List<String>> {
/external/jcommander/src/test/java/com/beust/jcommander/
DConverterFactoryTest.java38 private static final Map<Class, Class<? extends IStringConverter<?>>> MAP = new HashMap() {{
44 public Class<? extends IStringConverter<?>> getConverter(Class forType) {
DHostPortConverter.java21 public class HostPortConverter implements IStringConverter<HostPort> {
DSetConverter.java6 public class SetConverter implements IStringConverter<SortedSet<Integer>> {