Java.IO.Reader Class
The base class for all readers.

See Also: Reader Members


[Android.Runtime.Register("java/io/Reader", DoNotGenerateAcw=true)]
public abstract class Reader : Java.Lang.Object, ICloseable, Java.Lang.IReadable, IDisposable


The base class for all readers. A reader is a means of reading data from a source in a character-wise manner. Some readers also support marking a position in the input and returning to this position later.

This abstract class does not provide a fully working implementation, so it needs to be subclassed, and at least the Reader.Read(Char[], System.Int32, System.Int32) and Reader.Close methods needs to be overridden. Overriding some of the non-abstract methods is also often advised, since it might result in higher efficiency.

Many specialized readers for purposes like reading from a file already exist in this package.

See Also

[Android Documentation]


Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions:
Since: Added in API level 1