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| Constructor and Description |
|---|
CharsetEditor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText() |
void |
setAsText(String text) |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupport