public class ResourceSet extends NetObjectEnumerable implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/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=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.Resources.ResourceSet
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
ResourceSet() |
ResourceSet(IResourceReader reader)
Initializes a new instance by invoking the .NET constructor.
|
ResourceSet(java.lang.Object instance)
Internal constructor.
|
ResourceSet(Stream stream)
Initializes a new instance by invoking the .NET constructor.
|
ResourceSet(java.lang.String fileName)
Initializes a new instance by invoking the .NET constructor.
|
| 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()
Invokes the .NET member Close.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
NetType |
GetDefaultReader()
Invokes the .NET member GetDefaultReader.
|
NetType |
GetDefaultWriter()
Invokes the .NET member GetDefaultWriter.
|
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. |
NetObject |
GetObject(java.lang.String name)
Invokes the .NET member GetObject.
|
NetObject |
GetObject(java.lang.String name,
boolean ignoreCase)
Invokes the .NET member GetObject.
|
java.lang.String |
GetString(java.lang.String name)
Invokes the .NET member GetString.
|
java.lang.String |
GetString(java.lang.String name,
boolean ignoreCase)
Invokes the .NET member GetString.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
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
reader - the argument of type IResourceReaderjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic ResourceSet(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 ResourceSet(Stream stream) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ObjectDisposedException, IOException, BadImageFormatException, FormatException, ArgumentNullException, RankException, ArrayTypeMismatchException, CultureNotFoundException, InvalidOperationException
stream - the argument of type Streamjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itBadImageFormatException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic ResourceSet(java.lang.String fileName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
SerializationException,
IOException,
ObjectDisposedException,
BadImageFormatException,
ArgumentNullException,
RankException,
ArrayTypeMismatchException,
CultureNotFoundException
fileName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - 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 itObjectDisposedException - if the .NET member raises itBadImageFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic 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.Throwable - if the call fails in the bridge or in the CLRpublic void Dispose()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetType GetDefaultReader() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetType GetDefaultWriter() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, TypeLoadException, IndexOutOfRangeException, InvalidOperationException, FormatException, ArgumentNullException, UnreachableException, ArgumentOutOfRangeException, FileLoadException, FileNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itTypeLoadException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnreachableException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFileLoadException - if the .NET member raises itFileNotFoundException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerablepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerablepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerablenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerablepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerablepublic NetObject GetObject(java.lang.String name) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException
name - the argument of type java.lang.Stringjava.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 itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic NetObject GetObject(java.lang.String name, boolean ignoreCase) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException
name - the argument of type java.lang.StringignoreCase - the argument of type booleanjava.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 itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic java.lang.String GetString(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
ObjectDisposedException,
PlatformNotSupportedException
name - the argument of type java.lang.Stringjava.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 itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic java.lang.String GetString(java.lang.String name,
boolean ignoreCase)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
ObjectDisposedException,
PlatformNotSupportedException
name - the argument of type java.lang.StringignoreCase - the argument of type booleanjava.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 itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying object