@Component
public class NumberFormatConverter
extends java.lang.Object
implements org.springframework.shell.core.Converter<java.text.NumberFormat>
NumberFormat
instance.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT |
Constructor and Description |
---|
NumberFormatConverter() |
Modifier and Type | Method and Description |
---|---|
java.text.NumberFormat |
convertFromText(java.lang.String value,
java.lang.Class<?> targetType,
java.lang.String optionContext) |
boolean |
getAllPossibleValues(java.util.List<org.springframework.shell.core.Completion> completions,
java.lang.Class<?> targetType,
java.lang.String existingData,
java.lang.String optionContext,
org.springframework.shell.core.MethodTarget target) |
boolean |
supports(java.lang.Class<?> type,
java.lang.String optionContext) |
public static final java.lang.String DEFAULT
public boolean supports(java.lang.Class<?> type, java.lang.String optionContext)
supports
in interface org.springframework.shell.core.Converter<java.text.NumberFormat>
public java.text.NumberFormat convertFromText(java.lang.String value, java.lang.Class<?> targetType, java.lang.String optionContext)
convertFromText
in interface org.springframework.shell.core.Converter<java.text.NumberFormat>
public boolean getAllPossibleValues(java.util.List<org.springframework.shell.core.Completion> completions, java.lang.Class<?> targetType, java.lang.String existingData, java.lang.String optionContext, org.springframework.shell.core.MethodTarget target)
getAllPossibleValues
in interface org.springframework.shell.core.Converter<java.text.NumberFormat>