IPreferredTextEncodingProvider
public interface IPreferredTextEncodingProvider
Defines a interface for objects that can define PreferredTextEncoding.
Methods
Method | Description |
---|---|
getPreferredTextEncoding() | Preferred text encoding. |
setPreferredTextEncoding(Charset value) | Preferred text encoding. |
getPreferredTextEncoding()
public abstract Charset getPreferredTextEncoding()
Preferred text encoding.
Returns: java.nio.charset.Charset
setPreferredTextEncoding(Charset value)
public abstract void setPreferredTextEncoding(Charset value)
Preferred text encoding.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.nio.charset.Charset |