次の方法で共有


StreamHandler Constructors

Definition

Overloads

StreamHandler()

Create a StreamHandler, with no current output stream.

StreamHandler(IntPtr, JniHandleOwnership)

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

StreamHandler(Stream, Formatter)

Create a StreamHandler with a given Formatter and output stream.

StreamHandler()

Create a StreamHandler, with no current output stream.

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

Remarks

Create a StreamHandler, with no current output stream.

Java documentation for java.util.logging.StreamHandler.StreamHandler().

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

StreamHandler(IntPtr, JniHandleOwnership)

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

protected StreamHandler (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Logging.StreamHandler : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Logging.StreamHandler

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

StreamHandler(Stream, Formatter)

Create a StreamHandler with a given Formatter and output stream.

[Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;Ljava/util/logging/Formatter;)V", "")]
public StreamHandler (System.IO.Stream? out, Java.Util.Logging.Formatter? formatter);
[<Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;Ljava/util/logging/Formatter;)V", "")>]
new Java.Util.Logging.StreamHandler : System.IO.Stream * Java.Util.Logging.Formatter -> Java.Util.Logging.StreamHandler

Parameters

out
Stream

the target output stream

formatter
Formatter

Formatter to be used to format output

Attributes

Exceptions

if os or formatter is null.

Remarks

Create a StreamHandler with a given Formatter and output stream.

Java documentation for java.util.logging.StreamHandler.StreamHandler(java.io.OutputStream, java.util.logging.Formatter).

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