public class StreamReader extends TextReader
.NET documentation at https://learn.microsoft.com/dotnet/api/System.IO.StreamReader
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.IO.StreamReader
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
StreamReader() |
StreamReader(java.lang.Object instance)
Internal constructor.
|
StreamReader(Stream stream)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(Stream stream,
boolean detectEncodingFromByteOrderMarks)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(Stream stream,
Encoding encoding)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(Stream stream,
Encoding encoding,
boolean detectEncodingFromByteOrderMarks)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(Stream stream,
Encoding encoding,
boolean detectEncodingFromByteOrderMarks,
int bufferSize)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(Stream stream,
Encoding encoding,
boolean detectEncodingFromByteOrderMarks,
int bufferSize,
boolean leaveOpen)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(java.lang.String path)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(java.lang.String path,
boolean detectEncodingFromByteOrderMarks)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(java.lang.String path,
Encoding encoding)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(java.lang.String path,
Encoding encoding,
boolean detectEncodingFromByteOrderMarks)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(java.lang.String path,
Encoding encoding,
boolean detectEncodingFromByteOrderMarks,
FileStreamOptions options)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(java.lang.String path,
Encoding encoding,
boolean detectEncodingFromByteOrderMarks,
int bufferSize)
Initializes a new instance by invoking the .NET constructor.
|
StreamReader(java.lang.String path,
FileStreamOptions options)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamReader |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into StreamReader, a cast assert is made to check if types are compatible. |
void |
Close()
Invokes the .NET member Close.
|
void |
DiscardBufferedData()
Invokes the .NET member DiscardBufferedData.
|
Stream |
getBaseStream()
Gets the value of the .NET property BaseStream.
|
Encoding |
getCurrentEncoding()
Gets the value of the .NET property CurrentEncoding.
|
boolean |
getEndOfStream()
Gets the value of the .NET property EndOfStream.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
Peek()
Invokes the .NET member Peek.
|
int |
Read()
Invokes the .NET member Read.
|
int |
Read(char[] buffer,
int index,
int count)
Invokes the .NET member Read.
|
int |
Read(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member Read.
|
Task_1 |
ReadAsync(char[] buffer,
int index,
int count)
Invokes the .NET member ReadAsync.
|
Task_1 |
ReadAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member ReadAsync.
|
ValueTask_1 |
ReadAsync(Memory_1 buffer,
CancellationToken cancellationToken)
Invokes the .NET member ReadAsync.
|
int |
ReadBlock(char[] buffer,
int index,
int count)
Invokes the .NET member ReadBlock.
|
int |
ReadBlock(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member ReadBlock.
|
Task_1 |
ReadBlockAsync(char[] buffer,
int index,
int count)
Invokes the .NET member ReadBlockAsync.
|
Task_1 |
ReadBlockAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member ReadBlockAsync.
|
ValueTask_1 |
ReadBlockAsync(Memory_1 buffer,
CancellationToken cancellationToken)
Invokes the .NET member ReadBlockAsync.
|
java.lang.String |
ReadLine()
Invokes the .NET member ReadLine.
|
Task_1 |
ReadLineAsync()
Invokes the .NET member ReadLineAsync.
|
ValueTask_1 |
ReadLineAsync(CancellationToken cancellationToken)
Invokes the .NET member ReadLineAsync.
|
java.lang.String |
ReadToEnd()
Invokes the .NET member ReadToEnd.
|
Task_1 |
ReadToEndAsync()
Invokes the .NET member ReadToEndAsync.
|
Task_1 |
ReadToEndAsync(CancellationToken cancellationToken)
Invokes the .NET member ReadToEndAsync.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
close, Dispose, SynchronizedGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public StreamReader()
throws java.lang.Throwable
java.lang.Throwablepublic StreamReader(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic StreamReader(Stream stream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
stream - the argument of type Streamjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic StreamReader(Stream stream, boolean detectEncodingFromByteOrderMarks) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
stream - the argument of type StreamdetectEncodingFromByteOrderMarks - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic StreamReader(Stream stream, Encoding encoding) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
stream - the argument of type Streamencoding - the argument of type Encodingjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic StreamReader(Stream stream, Encoding encoding, boolean detectEncodingFromByteOrderMarks) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
stream - the argument of type Streamencoding - the argument of type EncodingdetectEncodingFromByteOrderMarks - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic StreamReader(Stream stream, Encoding encoding, boolean detectEncodingFromByteOrderMarks, int bufferSize) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
stream - the argument of type Streamencoding - the argument of type EncodingdetectEncodingFromByteOrderMarks - the argument of type booleanbufferSize - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic StreamReader(Stream stream, Encoding encoding, boolean detectEncodingFromByteOrderMarks, int bufferSize, boolean leaveOpen) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException
stream - the argument of type Streamencoding - the argument of type EncodingdetectEncodingFromByteOrderMarks - the argument of type booleanbufferSize - the argument of type intleaveOpen - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic StreamReader(java.lang.String path)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
path - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic StreamReader(java.lang.String path,
boolean detectEncodingFromByteOrderMarks)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
SerializationException
path - the argument of type java.lang.StringdetectEncodingFromByteOrderMarks - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itSerializationException - if the .NET member raises itpublic StreamReader(java.lang.String path,
Encoding encoding)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
SerializationException
path - the argument of type java.lang.Stringencoding - the argument of type Encodingjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itSerializationException - if the .NET member raises itpublic StreamReader(java.lang.String path,
Encoding encoding,
boolean detectEncodingFromByteOrderMarks)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
SerializationException
path - the argument of type java.lang.Stringencoding - the argument of type EncodingdetectEncodingFromByteOrderMarks - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itSerializationException - if the .NET member raises itpublic StreamReader(java.lang.String path,
Encoding encoding,
boolean detectEncodingFromByteOrderMarks,
FileStreamOptions options)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
SerializationException,
IOException
path - the argument of type java.lang.Stringencoding - the argument of type EncodingdetectEncodingFromByteOrderMarks - the argument of type booleanoptions - the argument of type FileStreamOptionsjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itpublic StreamReader(java.lang.String path,
Encoding encoding,
boolean detectEncodingFromByteOrderMarks,
int bufferSize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
SerializationException
path - the argument of type java.lang.Stringencoding - the argument of type EncodingdetectEncodingFromByteOrderMarks - the argument of type booleanbufferSize - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itSerializationException - if the .NET member raises itpublic StreamReader(java.lang.String path,
FileStreamOptions options)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
OutOfMemoryException,
SerializationException,
IOException
path - the argument of type java.lang.Stringoptions - the argument of type FileStreamOptionsjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itIOException - if the .NET member raises itpublic static StreamReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into StreamReader, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedStreamReader instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable
Close in class TextReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void DiscardBufferedData()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic Stream getBaseStream() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Encoding getCurrentEncoding() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getEndOfStream()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class TextReaderpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class TextReaderpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class TextReadernull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class TextReaderpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class TextReaderpublic int Peek()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
Peek in class TextReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic int Read()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
Read in class TextReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic int Read(char[] buffer,
int index,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException
Read in class TextReaderbuffer - the argument of type char[]index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
Read in class TextReaderdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic Task_1 ReadAsync(char[] buffer, int index, int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, IOException, TaskSchedulerException, OutOfMemoryException, EventSourceException
ReadAsync in class TextReaderbuffer - the argument of type char[]index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itIOException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 ReadAsync(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, IOException, TaskSchedulerException, OutOfMemoryException, EventSourceException
ReadAsync in class TextReaderdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itIOException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic ValueTask_1 ReadAsync(Memory_1 buffer, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, IOException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, EventSourceException, ObjectDisposedException
ReadAsync in class TextReaderbuffer - the argument of type Memory_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic int ReadBlock(char[] buffer,
int index,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
ReadBlock in class TextReaderbuffer - the argument of type char[]index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic int ReadBlock(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
ReadBlock in class TextReaderdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Task_1 ReadBlockAsync(char[] buffer, int index, int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException
ReadBlockAsync in class TextReaderbuffer - the argument of type char[]index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic Task_1 ReadBlockAsync(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException
ReadBlockAsync in class TextReaderdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic ValueTask_1 ReadBlockAsync(Memory_1 buffer, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, IOException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, EventSourceException, ObjectDisposedException
ReadBlockAsync in class TextReaderbuffer - the argument of type Memory_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIOException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic java.lang.String ReadLine()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
ReadLine in class TextReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic Task_1 ReadLineAsync() throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException, TaskSchedulerException, ArgumentException, InvalidOperationException, EventSourceException
ReadLineAsync in class TextReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic ValueTask_1 ReadLineAsync(CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException, TaskSchedulerException, ArgumentException, InvalidOperationException, EventSourceException, ObjectDisposedException
ReadLineAsync in class TextReadercancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic java.lang.String ReadToEnd()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException
ReadToEnd in class TextReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic Task_1 ReadToEndAsync() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException
ReadToEndAsync in class TextReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Task_1 ReadToEndAsync(CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException
ReadToEndAsync in class TextReadercancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class TextReaderinstance - the new underlying object