Udostępnij za pośrednictwem


BufferedReader Constructors

Definition

Overloads

BufferedReader(Reader)

Creates a buffering character-input stream that uses a default-sized input buffer.

BufferedReader(Reader, Int32)

Creates a buffering character-input stream that uses an input buffer of the specified size.

BufferedReader(IntPtr, JniHandleOwnership)

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

BufferedReader(Reader)

Creates a buffering character-input stream that uses a default-sized input buffer.

[Android.Runtime.Register(".ctor", "(Ljava/io/Reader;)V", "")]
public BufferedReader (Java.IO.Reader? in);
[<Android.Runtime.Register(".ctor", "(Ljava/io/Reader;)V", "")>]
new Java.IO.BufferedReader : Java.IO.Reader -> Java.IO.BufferedReader

Parameters

in
Reader

A Reader

Attributes

Remarks

Creates a buffering character-input stream that uses a default-sized input buffer.

Java documentation for java.io.BufferedReader.BufferedReader(java.io.Reader).

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

BufferedReader(Reader, Int32)

Creates a buffering character-input stream that uses an input buffer of the specified size.

[Android.Runtime.Register(".ctor", "(Ljava/io/Reader;I)V", "")]
public BufferedReader (Java.IO.Reader? in, int sz);
[<Android.Runtime.Register(".ctor", "(Ljava/io/Reader;I)V", "")>]
new Java.IO.BufferedReader : Java.IO.Reader * int -> Java.IO.BufferedReader

Parameters

in
Reader

A Reader

sz
Int32

Input-buffer size

Attributes

Exceptions

if size <= 0.

Remarks

Creates a buffering character-input stream that uses an input buffer of the specified size.

Java documentation for java.io.BufferedReader.BufferedReader(java.io.Reader, int).

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

BufferedReader(IntPtr, JniHandleOwnership)

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

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

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