public class ResourceSet extends NetObjectEnumerable implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Resources.ResourceSet
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.Resources.ResourceSet
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
ResourceSet() |
ResourceSet(IResourceReader reader) |
ResourceSet(java.lang.Object instance)
Internal constructor.
|
ResourceSet(Stream stream) |
ResourceSet(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
static ResourceSet |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ResourceSet, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close() |
void |
Dispose() |
NetType |
GetDefaultReader() |
NetType |
GetDefaultWriter() |
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
|
NetObject |
GetObject(java.lang.String name) |
NetObject |
GetObject(java.lang.String name,
boolean ignoreCase) |
java.lang.String |
GetString(java.lang.String name) |
java.lang.String |
GetString(java.lang.String name,
boolean ignoreCase) |
void |
setJCOInstance(JCObject instance) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ResourceSet()
throws java.lang.Throwable
java.lang.Throwablepublic ResourceSet(IResourceReader reader) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidCastException
public ResourceSet(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ResourceSet(Stream stream) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ObjectDisposedException, IOException, BadImageFormatException, FormatException, ArgumentNullException, RankException, ArrayTypeMismatchException, CultureNotFoundException, InvalidOperationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionIOExceptionBadImageFormatExceptionFormatExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionInvalidOperationExceptionpublic ResourceSet(java.lang.String fileName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
SerializationException,
IOException,
ObjectDisposedException,
BadImageFormatException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
CultureNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionIOExceptionObjectDisposedExceptionBadImageFormatExceptionArgumentNullExceptionRankExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionpublic static ResourceSet cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ResourceSet, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedResourceSet 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
java.lang.Throwablepublic void Dispose()
throws java.lang.Throwable
java.lang.Throwablepublic NetType GetDefaultReader() throws java.lang.Throwable
java.lang.Throwablepublic NetType GetDefaultWriter() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, TypeLoadException, IndexOutOfRangeException, InvalidOperationException, FormatException, ArgumentNullException, UnreachableException, ArgumentOutOfRangeException, FileLoadException, FileNotFoundException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic NetObject GetObject(java.lang.String name) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException
public NetObject GetObject(java.lang.String name, boolean ignoreCase) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException
public java.lang.String GetString(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
ObjectDisposedException,
PlatformNotSupportedException
public java.lang.String GetString(java.lang.String name,
boolean ignoreCase)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
ObjectDisposedException,
PlatformNotSupportedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerable