IPreferredTextEncodingProvider

public interface IPreferredTextEncodingProvider

Defines a interface for objects that can define PreferredTextEncoding.

Methods

MethodDescription
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:

ParameterTypeDescription
valuejava.nio.charset.Charset