Java.Nio.Charset.Charset.ForName Method
Returns a Charset instance for the named charset.

Syntax

[Android.Runtime.Register("forName", "(Ljava/lang/String;)Ljava/nio/charset/Charset;", "")]
public static Charset ForName (string charsetName)

Parameters

charsetName
a charset name (either canonical or an alias)

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Nio.Charset.IllegalCharsetNameExceptionif the specified charset name is illegal.
Java.Nio.Charset.UnsupportedCharsetExceptionif the desired charset is not supported by this runtime.

Remarks

Returns a Charset instance for the named charset.

[Android Documentation]

Requirements

Namespace: Java.Nio.Charset
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1