@Component public class NumberFormatConverter extends Object implements org.springframework.shell.core.Converter<NumberFormat>
NumberFormat
instance.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT |
TAB_COMPLETION_COUNT_PREFIX
Constructor and Description |
---|
NumberFormatConverter() |
Modifier and Type | Method and Description |
---|---|
NumberFormat |
convertFromText(String value,
Class<?> targetType,
String optionContext) |
boolean |
getAllPossibleValues(List<org.springframework.shell.core.Completion> completions,
Class<?> targetType,
String existingData,
String optionContext,
org.springframework.shell.core.MethodTarget target) |
boolean |
supports(Class<?> type,
String optionContext) |
public static final String DEFAULT
public boolean supports(Class<?> type, String optionContext)
supports
in interface org.springframework.shell.core.Converter<NumberFormat>
public NumberFormat convertFromText(String value, Class<?> targetType, String optionContext)
convertFromText
in interface org.springframework.shell.core.Converter<NumberFormat>
public boolean getAllPossibleValues(List<org.springframework.shell.core.Completion> completions, Class<?> targetType, String existingData, String optionContext, org.springframework.shell.core.MethodTarget target)
getAllPossibleValues
in interface org.springframework.shell.core.Converter<NumberFormat>
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.