Sdílet prostřednictvím


StreamSource.Reader Property

Definition

Get the character stream that was set with setReader. -or- Set the input to be a character reader.

public virtual Java.IO.Reader? Reader { [Android.Runtime.Register("getReader", "()Ljava/io/Reader;", "GetGetReaderHandler")] get; [Android.Runtime.Register("setReader", "(Ljava/io/Reader;)V", "GetSetReader_Ljava_io_Reader_Handler")] set; }
[<get: Android.Runtime.Register("getReader", "()Ljava/io/Reader;", "GetGetReaderHandler")>]
[<set: Android.Runtime.Register("setReader", "(Ljava/io/Reader;)V", "GetSetReader_Ljava_io_Reader_Handler")>]
member this.Reader : Java.IO.Reader with get, set

Property Value

The character stream that was set with setReader, or null if setReader or the Reader constructor was not called.

Attributes

Remarks

Property getter documentation:

Get the character stream that was set with setReader.

Java documentation for javax.xml.transform.stream.StreamSource.getReader().

Property setter documentation:

Set the input to be a character reader. Normally, a stream should be used rather than a reader, so that the XML parser can resolve character encoding specified by the XML declaration. However, in many cases the encoding of the input stream is already resolved, as in the case of reading XML from a StringReader.

Java documentation for javax.xml.transform.stream.StreamSource.setReader(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