public class IndexTypeConverter extends AbstractPropertyEditorConverterSupport<IndexType>
IndexType
,
AbstractPropertyEditorConverterSupport
Constructor and Description |
---|
IndexTypeConverter() |
Modifier and Type | Method and Description |
---|---|
IndexType |
convert(String value)
Converts the given String value into an appropriate IndexType.
|
assertConverted, setAsText
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public IndexType convert(String value)
value
- the String to convert into an appropriate IndexType enumerated value.IllegalArgumentException
- if the given String could not be converted into
an appropriate IndexType enumerated value.AbstractPropertyEditorConverterSupport.assertConverted(String, Object, Class)
,
IndexType.valueOfIgnoreCase(String)
,
StringUtils.trimWhitespace(String)
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.