Share via


StringReader Constructors

Definition

Overloads

StringReader(String)

Creates a new string reader.

StringReader(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

StringReader(String)

Creates a new string reader.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public StringReader (string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.IO.StringReader : string -> Java.IO.StringReader

Parameters

s
String

String providing the character stream.

Attributes

Remarks

Creates a new string reader.

Java documentation for java.io.StringReader.StringReader(java.lang.String).

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

StringReader(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected StringReader (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.StringReader : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.StringReader

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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