共用方式為


PipedReader Constructors

Definition

Overloads

PipedReader()

Creates a PipedReader so that it is not yet #connect(java.

PipedReader(PipedWriter)

Creates a PipedReader so that it is connected to the piped writer src.

PipedReader(Int32)

Creates a PipedReader so that it is not yet #connect(java.io.PipedWriter) connected and uses the specified pipe size for the pipe's buffer.

PipedReader(PipedWriter, Int32)

Creates a PipedReader so that it is connected to the piped writer src and uses the specified pipe size for the pipe's buffer.

PipedReader(IntPtr, JniHandleOwnership)

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

PipedReader()

Creates a PipedReader so that it is not yet #connect(java.

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

Remarks

Creates a PipedReader so that it is not yet #connect(java.io.PipedWriter) connected. It must be java.io.PipedWriter#connect( java.io.PipedReader) connected to a PipedWriter before being used.

Java documentation for java.io.PipedReader.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

PipedReader(PipedWriter)

Creates a PipedReader so that it is connected to the piped writer src.

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

Parameters

src
PipedWriter

the stream to connect to.

Attributes

Exceptions

if out is already connected.

Remarks

Creates a PipedReader so that it is connected to the piped writer src. Data written to src will then be available as input from this stream.

Java documentation for java.io.PipedReader.PipedReader(java.io.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.

Applies to

PipedReader(Int32)

Creates a PipedReader so that it is not yet #connect(java.io.PipedWriter) connected and uses the specified pipe size for the pipe's buffer.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public PipedReader (int pipeSize);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.IO.PipedReader : int -> Java.IO.PipedReader

Parameters

pipeSize
Int32

the size of the pipe's buffer.

Attributes

Exceptions

if pipeSize is less than or equal to zero.

Remarks

Creates a PipedReader so that it is not yet #connect(java.io.PipedWriter) connected and uses the specified pipe size for the pipe's buffer. It must be java.io.PipedWriter#connect( java.io.PipedReader) connected to a PipedWriter before being used.

Added in 1.6.

Java documentation for java.io.PipedReader.PipedReader(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

PipedReader(PipedWriter, Int32)

Creates a PipedReader so that it is connected to the piped writer src and uses the specified pipe size for the pipe's buffer.

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

Parameters

src
PipedWriter

the stream to connect to.

pipeSize
Int32

the size of the pipe's buffer.

Attributes

Exceptions

if an I/O error occurs

if pipeSize is less than or equal to zero.

Remarks

Creates a PipedReader so that it is connected to the piped writer src and uses the specified pipe size for the pipe's buffer. Data written to src will then be available as input from this stream.

Added in 1.6.

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

PipedReader(IntPtr, JniHandleOwnership)

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

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

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