Compartilhar via


Runtime.GetLocalizedOutputStream(Stream) Method

Definition

Caution

deprecated

Creates a localized version of an output stream.

[Android.Runtime.Register("getLocalizedOutputStream", "(Ljava/io/OutputStream;)Ljava/io/OutputStream;", "GetGetLocalizedOutputStream_Ljava_io_OutputStream_Handler")]
[System.Obsolete("deprecated")]
public virtual System.IO.Stream? GetLocalizedOutputStream (System.IO.Stream? out);
[<Android.Runtime.Register("getLocalizedOutputStream", "(Ljava/io/OutputStream;)Ljava/io/OutputStream;", "GetGetLocalizedOutputStream_Ljava_io_OutputStream_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member GetLocalizedOutputStream : System.IO.Stream -> System.IO.Stream
override this.GetLocalizedOutputStream : System.IO.Stream -> System.IO.Stream

Parameters

out
Stream

OutputStream to localize

Returns

a localized output stream

Attributes

Remarks

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

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

Java documentation for java.lang.Runtime.getLocalizedOutputStream(java.io.OutputStream).

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