Udostępnij za pośrednictwem


Runtime.GetLocalizedInputStream(Stream) Method

Definition

Caution

deprecated

Creates a localized version of an input stream.

[Android.Runtime.Register("getLocalizedInputStream", "(Ljava/io/InputStream;)Ljava/io/InputStream;", "GetGetLocalizedInputStream_Ljava_io_InputStream_Handler")]
[System.Obsolete("deprecated")]
public virtual System.IO.Stream? GetLocalizedInputStream (System.IO.Stream? in);
[<Android.Runtime.Register("getLocalizedInputStream", "(Ljava/io/InputStream;)Ljava/io/InputStream;", "GetGetLocalizedInputStream_Ljava_io_InputStream_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member GetLocalizedInputStream : System.IO.Stream -> System.IO.Stream
override this.GetLocalizedInputStream : System.IO.Stream -> System.IO.Stream

Parameters

in
Stream

InputStream to localize

Returns

a localized input stream

Attributes

Remarks

Creates a localized version of an input stream. This method takes an InputStream and returns an InputStream equivalent to the argument in all respects except that it is localized: as characters in the local character set are read from the stream, they are automatically converted from the local character set to Unicode.

If the argument is already a localized stream, it may be returned as the result.

Java documentation for java.lang.Runtime.getLocalizedInputStream(java.io.InputStream).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to