Partager via


BufferedWriter Constructors

Definition

Overloads

BufferedWriter(Writer)

Creates a buffered character-output stream that uses a default-sized output buffer.

BufferedWriter(Writer, Int32)

Creates a new buffered character-output stream that uses an output buffer of the given size.

BufferedWriter(IntPtr, JniHandleOwnership)

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

BufferedWriter(Writer)

Creates a buffered character-output stream that uses a default-sized output buffer.

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

Parameters

out
Writer

A Writer

Attributes

Remarks

Creates a buffered character-output stream that uses a default-sized output buffer.

Java documentation for java.io.BufferedWriter.BufferedWriter(java.io.Writer).

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

BufferedWriter(Writer, Int32)

Creates a new buffered character-output stream that uses an output buffer of the given size.

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

Parameters

out
Writer

A Writer

sz
Int32

Output-buffer size, a positive integer

Attributes

Exceptions

if size <= 0.

Remarks

Creates a new buffered character-output stream that uses an output buffer of the given size.

Java documentation for java.io.BufferedWriter.BufferedWriter(java.io.Writer, 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

BufferedWriter(IntPtr, JniHandleOwnership)

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

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

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