LineNumberReader 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
LineNumberReader(Reader) |
Create a new line-numbering reader, using the default input-buffer size. |
LineNumberReader(Reader, Int32) |
Create a new line-numbering reader, reading characters into a buffer of the given size. |
LineNumberReader(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
LineNumberReader(Reader)
Create a new line-numbering reader, using the default input-buffer size.
[Android.Runtime.Register(".ctor", "(Ljava/io/Reader;)V", "")]
public LineNumberReader (Java.IO.Reader? in);
[<Android.Runtime.Register(".ctor", "(Ljava/io/Reader;)V", "")>]
new Java.IO.LineNumberReader : Java.IO.Reader -> Java.IO.LineNumberReader
Parameters
- in
- Reader
A Reader object to provide the underlying stream
- Attributes
Remarks
Create a new line-numbering reader, using the default input-buffer size.
Java documentation for java.io.LineNumberReader.LineNumberReader(java.io.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
LineNumberReader(Reader, Int32)
Create a new line-numbering reader, reading characters into a buffer of the given size.
[Android.Runtime.Register(".ctor", "(Ljava/io/Reader;I)V", "")]
public LineNumberReader (Java.IO.Reader? in, int sz);
[<Android.Runtime.Register(".ctor", "(Ljava/io/Reader;I)V", "")>]
new Java.IO.LineNumberReader : Java.IO.Reader * int -> Java.IO.LineNumberReader
Parameters
- in
- Reader
A Reader object to provide the underlying stream
- sz
- Int32
An int specifying the size of the buffer
- Attributes
Exceptions
if size <= 0
.
Remarks
Create a new line-numbering reader, reading characters into a buffer of the given size.
Java documentation for java.io.LineNumberReader.LineNumberReader(java.io.Reader, 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
LineNumberReader(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected LineNumberReader (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.LineNumberReader : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.LineNumberReader
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.