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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
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) |
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 |
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) |
close, Dispose, Flush, 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, WriteLineAsyncCreateObjRef, GetLifetimeService, 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,
FormatException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionpublic StringWriter(IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionpublic StringWriter(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic StringWriter(StringBuilder sb) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException
public StringWriter(StringBuilder sb, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic 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,
ObjectDisposedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException
Write in class TextWriterjava.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionpublic void Write(char[] buffer,
int index,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException
Write in class TextWriterjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionpublic void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException
Write in class TextWriterjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionpublic void Write(java.lang.String value)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
InvalidOperationException,
OutOfMemoryException
Write in class TextWriterjava.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionpublic 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, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
WriteAsync in class TextWriterjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
WriteAsync in class TextWriterjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic Task WriteAsync(java.lang.String value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
WriteAsync in class TextWriterjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic Task WriteLineAsync(char value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
WriteLineAsync in class TextWriterjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic Task WriteLineAsync(char[] buffer, int index, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
WriteLineAsync in class TextWriterjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic Task WriteLineAsync(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
WriteLineAsync in class TextWriterjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic Task WriteLineAsync(java.lang.String value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
WriteLineAsync in class TextWriterjava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException