Reader 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
Reader() |
Creates a new character-stream reader whose critical sections will synchronize on the reader itself. |
Reader(Object) |
Creates a new character-stream reader whose critical sections will synchronize on the given object. |
Reader(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Reader()
Creates a new character-stream reader whose critical sections will synchronize on the reader itself.
[Android.Runtime.Register(".ctor", "()V", "")]
protected Reader ();
- Attributes
Remarks
Creates a new character-stream reader whose critical sections will synchronize on the reader itself.
Java documentation for java.io.Reader.Reader()
.
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
Reader(Object)
Creates a new character-stream reader whose critical sections will synchronize on the given object.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Object;)V", "")]
protected Reader (Java.Lang.Object? lock);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Object;)V", "")>]
new Java.IO.Reader : Java.Lang.Object -> Java.IO.Reader
Parameters
- lock
- Object
The Object to synchronize on.
- Attributes
Exceptions
if lock
is null
.
Remarks
Creates a new character-stream reader whose critical sections will synchronize on the given object.
Java documentation for java.io.Reader.Reader(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
Reader(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Reader (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.Reader : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.Reader
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.