org.springframework.roo.shell
Interface Converter

All Known Subinterfaces:
StaticFieldConverter
All Known Implementing Classes:
AvailableCommandsConverter, BigDecimalConverter, BigIntegerConverter, BooleanConverter, CharacterConverter, DateConverter, DoubleConverter, EnumConverter, FileConverter, FloatConverter, IntegerConverter, LongConverter, ShortConverter, StaticFieldConverterImpl, StringConverter

public interface Converter


Method Summary
 Object convertFromText(String value, Class<?> requiredType, String optionContext)
           
 boolean getAllPossibleValues(List<String> completions, Class<?> requiredType, String existingData, String optionContext, MethodTarget target)
           
 boolean supports(Class<?> requiredType, String optionContext)
           
 

Method Detail

supports

boolean supports(Class<?> requiredType,
                 String optionContext)

convertFromText

Object convertFromText(String value,
                       Class<?> requiredType,
                       String optionContext)

getAllPossibleValues

boolean getAllPossibleValues(List<String> completions,
                             Class<?> requiredType,
                             String existingData,
                             String optionContext,
                             MethodTarget target)


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.