public class StringWriter extends TextWriter
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.StringWriter
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=10.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.StringWriter
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
StringWriter() |
StringWriter(IFormatProvider formatProvider) |
StringWriter(java.lang.Object instance)
Internal constructor.
|
StringWriter(StringBuilder sb) |
StringWriter(StringBuilder sb,
IFormatProvider formatProvider) |
| Modifier and Type | Method and Description |
|---|---|
static StringWriter |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into StringWriter, a cast assert is made to check if types are compatible. |
void |
Close() |
Task |
FlushAsync() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
StringBuilder |
GetStringBuilder() |
void |
setJCOInstance(JCObject instance) |
void |
Write(char value) |
void |
Write(char[] buffer,
int index,
int count) |
void |
Write(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
void |
Write(java.lang.String value) |
void |
Write(StringBuilder value) |
Task |
WriteAsync(char value) |
Task |
WriteAsync(char[] buffer,
int index,
int count) |
Task |
WriteAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
Task |
WriteAsync(java.lang.String value) |
Task |
WriteAsync(StringBuilder value,
CancellationToken cancellationToken) |
void |
WriteLine(StringBuilder value) |
Task |
WriteLineAsync(char value) |
Task |
WriteLineAsync(char[] buffer,
int index,
int count) |
Task |
WriteLineAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
Task |
WriteLineAsync(java.lang.String value) |
Task |
WriteLineAsync(StringBuilder value,
CancellationToken cancellationToken) |
close, CreateBroadcasting, Dispose, DisposeAsync, Flush, FlushAsync, getEncoding, getFormatProvider, getNewLine, setNewLine, Synchronized, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, Write, WriteAsync, WriteAsync, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine, WriteLineAsync, WriteLineAsync, WriteLineAsyncGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public StringWriter()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
OutOfMemoryException,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException
public StringWriter(IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic StringWriter(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic StringWriter(StringBuilder sb) throws java.lang.Throwable, ArgumentNullException, ArgumentException, OutOfMemoryException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException
public StringWriter(StringBuilder sb, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static StringWriter cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into StringWriter, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedStringWriter instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable
Close in class TextWriterjava.lang.Throwablepublic Task FlushAsync() throws java.lang.Throwable
FlushAsync in class TextWriterjava.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class TextWriterString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class TextWriterString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class TextWriterObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class TextWriterString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class TextWriterJCType representing the CLR Type of the instantiated Classpublic StringBuilder GetStringBuilder() throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class TextWriterpublic void Write(char value)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
RankException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException
Write in class TextWriterjava.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionpublic void Write(char[] buffer,
int index,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException
public void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException
public void Write(java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
RankException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException
Write in class TextWriterjava.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionpublic void Write(StringBuilder value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ObjectDisposedException, OutOfMemoryException
Write in class TextWriterjava.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionObjectDisposedExceptionOutOfMemoryExceptionpublic Task WriteAsync(char value) throws java.lang.Throwable
WriteAsync in class TextWriterjava.lang.Throwablepublic Task WriteAsync(char[] buffer, int index, int count) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
WriteAsync in class TextWriterjava.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionpublic Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
WriteAsync in class TextWriterjava.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionpublic Task WriteAsync(java.lang.String value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
WriteAsync in class TextWriterjava.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic Task WriteAsync(StringBuilder value, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, ArrayTypeMismatchException, OutOfMemoryException
WriteAsync in class TextWriterjava.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionpublic void WriteLine(StringBuilder value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ObjectDisposedException, OutOfMemoryException
WriteLine in class TextWriterjava.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionObjectDisposedExceptionOutOfMemoryExceptionpublic Task WriteLineAsync(char value) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException
WriteLineAsync in class TextWriterjava.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic Task WriteLineAsync(char[] buffer, int index, int count) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
WriteLineAsync in class TextWriterjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionpublic Task WriteLineAsync(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
WriteLineAsync in class TextWriterjava.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionpublic Task WriteLineAsync(java.lang.String value) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
WriteLineAsync in class TextWriterjava.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic Task WriteLineAsync(StringBuilder value, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, OutOfMemoryException, EventSourceException, ObjectDisposedException
WriteLineAsync in class TextWriterjava.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionInvalidOperationExceptionOutOfMemoryExceptionEventSourceExceptionObjectDisposedException