public class ResourceWriter extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Resources.ResourceWriter
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.Resources.Writer, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Resources.Writer
|
static java.lang.String |
className
Qualified class name: System.Resources.ResourceWriter
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ResourceWriter() |
ResourceWriter(java.lang.Object instance)
Internal constructor.
|
ResourceWriter(Stream stream) |
ResourceWriter(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddResource(java.lang.String name,
byte[] value) |
void |
AddResource(java.lang.String dupParam0,
JCORefOut dupParam1) |
void |
AddResource(java.lang.String name,
NetObject value) |
void |
AddResource(java.lang.String name,
Stream value) |
void |
AddResource(java.lang.String name,
Stream value,
boolean closeAfterWrite) |
void |
AddResource(java.lang.String name,
java.lang.String value) |
void |
AddResourceData(java.lang.String name,
java.lang.String typeName,
byte[] serializedData) |
void |
AddResourceData(java.lang.String dupParam0,
java.lang.String dupParam1,
JCORefOut dupParam2) |
static ResourceWriter |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ResourceWriter, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close() |
void |
Dispose() |
void |
Generate() |
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
|
void |
setJCOInstance(JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ResourceWriter()
throws java.lang.Throwable
java.lang.Throwablepublic ResourceWriter(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ResourceWriter(Stream stream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public ResourceWriter(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
SerializationException
public void AddResource(java.lang.String name,
byte[] value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
public void AddResource(java.lang.String dupParam0,
JCORefOut dupParam1)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
public void AddResource(java.lang.String name,
NetObject value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
public void AddResource(java.lang.String name,
Stream value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public void AddResource(java.lang.String name,
Stream value,
boolean closeAfterWrite)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
public void AddResource(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
public void AddResourceData(java.lang.String name,
java.lang.String typeName,
byte[] serializedData)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException
public void AddResourceData(java.lang.String dupParam0,
java.lang.String dupParam1,
JCORefOut dupParam2)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException
public static ResourceWriter cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ResourceWriter, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedResourceWriter instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
NotSupportedException,
ObjectDisposedException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
OverflowException,
InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionOverflowExceptionInvalidCastExceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
NotSupportedException,
ObjectDisposedException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
OverflowException,
InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionOverflowExceptionInvalidCastExceptionpublic void Generate()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException,
OverflowException,
InvalidCastException,
RankException,
InvalidTimeZoneException,
SecurityException,
UnauthorizedAccessException,
IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionOverflowExceptionInvalidCastExceptionRankExceptionInvalidTimeZoneExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject