Writer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Writer() |
Creates a new character-stream writer whose critical sections will synchronize on the writer itself. |
Writer(Object) |
Creates a new character-stream writer whose critical sections will synchronize on the given object. |
Writer(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Writer()
Creates a new character-stream writer whose critical sections will synchronize on the writer itself.
[Android.Runtime.Register(".ctor", "()V", "")]
protected Writer ();
- Attributes
Remarks
Creates a new character-stream writer whose critical sections will synchronize on the writer itself.
Java documentation for java.io.Writer.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
Writer(Object)
Creates a new character-stream writer whose critical sections will synchronize on the given object.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Object;)V", "")]
protected Writer (Java.Lang.Object? lock);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Object;)V", "")>]
new Java.IO.Writer : Java.Lang.Object -> Java.IO.Writer
Parameters
- lock
- Object
Object to synchronize on
- Attributes
Exceptions
if lock
is null
.
Remarks
Creates a new character-stream writer whose critical sections will synchronize on the given object.
Java documentation for java.io.Writer.Writer(java.lang.Object)
.
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
Writer(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Writer (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.Writer : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.Writer
Parameters
- 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.