public class CharsetEditor extends PropertyEditorSupport
java.nio.charset.Charset, translating charset
String representations into Charset objects and back.
Expects the same syntax as Charset's Charset.name(),
e.g. UTF-8, ISO-8859-16, etc.
Charset| 构造器和说明 |
|---|
CharsetEditor() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAsText() |
void |
setAsText(String text) |
public void setAsText(String text) throws IllegalArgumentException
setAsText 在接口中 PropertyEditorsetAsText 在类中 PropertyEditorSupportIllegalArgumentExceptionpublic String getAsText()
getAsText 在接口中 PropertyEditorgetAsText 在类中 PropertyEditorSupport