public class NacosCustomBooleanEditor extends PropertyEditorSupport
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
VALUE_0 |
static String |
VALUE_1 |
static String |
VALUE_FALSE |
static String |
VALUE_NO |
static String |
VALUE_OFF |
static String |
VALUE_ON |
static String |
VALUE_TRUE |
static String |
VALUE_YES |
| 构造器和说明 |
|---|
NacosCustomBooleanEditor(boolean allowEmpty) |
NacosCustomBooleanEditor(String trueString,
String falseString,
boolean allowEmpty) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
convert(String text) |
String |
getAsText() |
void |
setValue(Object value) |
public void setValue(Object value)
setValue 在接口中 PropertyEditorsetValue 在类中 PropertyEditorSupportpublic Object convert(String text) throws IllegalArgumentException
public String getAsText()
getAsText 在接口中 PropertyEditorgetAsText 在类中 PropertyEditorSupportCopyright © 2022. All rights reserved.