Partager via


SequenceInputStream Constructors

Definition

Overloads

SequenceInputStream(IEnumeration)

Initializes a newly created SequenceInputStream by remembering the argument, which must be an Enumeration that produces objects whose run-time type is InputStream.

SequenceInputStream(IntPtr, JniHandleOwnership)

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

SequenceInputStream(Stream, Stream)

Initializes a newly created SequenceInputStream by remembering the two arguments, which will be read in order, first s1 and then s2, to provide the bytes to be read from this SequenceInputStream.

SequenceInputStream(IEnumeration)

Initializes a newly created SequenceInputStream by remembering the argument, which must be an Enumeration that produces objects whose run-time type is InputStream.

[Android.Runtime.Register(".ctor", "(Ljava/util/Enumeration;)V", "")]
public SequenceInputStream (Java.Util.IEnumeration? e);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Enumeration;)V", "")>]
new Java.IO.SequenceInputStream : Java.Util.IEnumeration -> Java.IO.SequenceInputStream

Parameters

e
IEnumeration

an enumeration of input streams.

Attributes

Remarks

Initializes a newly created SequenceInputStream by remembering the argument, which must be an Enumeration that produces objects whose run-time type is InputStream. The input streams that are produced by the enumeration will be read, in order, to provide the bytes to be read from this SequenceInputStream. After each input stream from the enumeration is exhausted, it is closed by calling its close method.

Java documentation for java.io.SequenceInputStream.SequenceInputStream(java.util.Enumeration<? extends java.io.InputStream>).

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

SequenceInputStream(IntPtr, JniHandleOwnership)

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

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

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

SequenceInputStream(Stream, Stream)

Initializes a newly created SequenceInputStream by remembering the two arguments, which will be read in order, first s1 and then s2, to provide the bytes to be read from this SequenceInputStream.

[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljava/io/InputStream;)V", "")]
public SequenceInputStream (System.IO.Stream? s1, System.IO.Stream? s2);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljava/io/InputStream;)V", "")>]
new Java.IO.SequenceInputStream : System.IO.Stream * System.IO.Stream -> Java.IO.SequenceInputStream

Parameters

s1
Stream

the first input stream to read.

s2
Stream

the second input stream to read.

Attributes

Exceptions

if s1 is null.

Remarks

Initializes a newly created SequenceInputStream by remembering the two arguments, which will be read in order, first s1 and then s2, to provide the bytes to be read from this SequenceInputStream.

Java documentation for java.io.SequenceInputStream.SequenceInputStream(java.io.InputStream, java.io.InputStream).

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