Package java.io
Class OutputStreamWriter

Public Method getEncoding

String getEncoding()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns the canonical name of the character encoding being used by this stream. If this OutputStreamWriter was created with the OutputStreamWriter(OutputStream, String) constructor then the returned encoding name may differ from the encoding name passed to the constructor. May also return null if the stream was closed.

Note that this method will always return "UTF8".