Share via


PipedWriter Constructors

Definition

Overloads

PipedWriter()

Creates a piped writer that is not yet connected to a piped reader.

PipedWriter(PipedReader)

Creates a piped writer connected to the specified piped reader.

PipedWriter(IntPtr, JniHandleOwnership)

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

PipedWriter()

Creates a piped writer that is not yet connected to a piped reader.

[Android.Runtime.Register(".ctor", "()V", "")]
public PipedWriter ();
Attributes

Remarks

Creates a piped writer that is not yet connected to a piped reader. It must be connected to a piped reader, either by the receiver or the sender, before being used.

Java documentation for java.io.PipedWriter.PipedWriter().

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.

See also

Applies to

PipedWriter(PipedReader)

Creates a piped writer connected to the specified piped reader.

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

Parameters

snk
PipedReader

The piped reader to connect to.

Attributes

Exceptions

if destination is already connected.

Remarks

Creates a piped writer connected to the specified piped reader. Data characters written to this stream will then be available as input from snk.

Java documentation for java.io.PipedWriter.PipedWriter(java.io.PipedReader).

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

PipedWriter(IntPtr, JniHandleOwnership)

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

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

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