public final String getEncoding();
None.
A String containing the data handler's character encoding.
The getEncoding() method retrieves the data handler's character encoding. The character encoding is part of the locale, which defines cultural conventions for data according to language, country (or territory).This method is the accessor method that retrieves the value of a private character-encoding variable in the DataHandler class. This character encoding should indicate the character encoding of the serialized data that the data handler is processing.
This method is useful when the data handler needs to perform character-encoding processing, such as character conversion.