public class ResXResourceReader extends NetObjectEnumerable implements IDisposable, java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Resources.ResXResourceReader
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.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Resources.ResXResourceReader
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
ResXResourceReader() |
ResXResourceReader(java.lang.Object instance)
Internal constructor.
|
ResXResourceReader(Stream stream) |
ResXResourceReader(Stream stream,
AssemblyName[] assemblyNames) |
ResXResourceReader(Stream stream,
ITypeResolutionService typeResolver) |
ResXResourceReader(java.lang.String fileName) |
ResXResourceReader(java.lang.String fileName,
AssemblyName[] assemblyNames) |
ResXResourceReader(java.lang.String fileName,
ITypeResolutionService typeResolver) |
ResXResourceReader(TextReader reader) |
ResXResourceReader(TextReader reader,
AssemblyName[] assemblyNames) |
ResXResourceReader(TextReader reader,
ITypeResolutionService typeResolver) |
| Modifier and Type | Method and Description |
|---|---|
static ResXResourceReader |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ResXResourceReader, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close() |
static ResXResourceReader |
FromFileContents(java.lang.String fileContents) |
static ResXResourceReader |
FromFileContents(java.lang.String fileContents,
AssemblyName[] assemblyNames) |
static ResXResourceReader |
FromFileContents(java.lang.String fileContents,
ITypeResolutionService typeResolver) |
java.lang.String |
getBasePath() |
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
|
IDictionaryEnumerator |
GetMetadataEnumerator() |
boolean |
getUseResXDataNodes() |
void |
setBasePath(java.lang.String BasePath) |
void |
setJCOInstance(JCObject instance) |
void |
setUseResXDataNodes(boolean UseResXDataNodes) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringDispose, ToIDisposableToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ResXResourceReader()
throws java.lang.Throwable
java.lang.Throwablepublic ResXResourceReader(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ResXResourceReader(Stream stream) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic ResXResourceReader(Stream stream, AssemblyName[] assemblyNames) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic ResXResourceReader(Stream stream, ITypeResolutionService typeResolver) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic ResXResourceReader(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic ResXResourceReader(java.lang.String fileName,
AssemblyName[] assemblyNames)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic ResXResourceReader(java.lang.String fileName,
ITypeResolutionService typeResolver)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic ResXResourceReader(TextReader reader) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic ResXResourceReader(TextReader reader, AssemblyName[] assemblyNames) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic ResXResourceReader(TextReader reader, ITypeResolutionService typeResolver) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic static ResXResourceReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ResXResourceReader, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedResXResourceReader 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 static ResXResourceReader FromFileContents(java.lang.String fileContents) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic static ResXResourceReader FromFileContents(java.lang.String fileContents, AssemblyName[] assemblyNames) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic static ResXResourceReader FromFileContents(java.lang.String fileContents, ITypeResolutionService typeResolver) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic java.lang.String getBasePath()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDisposablegetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDisposablegetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDisposablegetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDisposablegetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDisposablegetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic IDictionaryEnumerator GetMetadataEnumerator() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, SerializationException, ArrayTypeMismatchException, IOException, XmlException, FileLoadException, CultureNotFoundException, SecurityException, RankException, TypeLoadException, TargetInvocationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionSerializationExceptionArrayTypeMismatchExceptionIOExceptionXmlExceptionFileLoadExceptionCultureNotFoundExceptionSecurityExceptionRankExceptionTypeLoadExceptionTargetInvocationExceptionpublic boolean getUseResXDataNodes()
throws java.lang.Throwable
java.lang.Throwablepublic void setBasePath(java.lang.String BasePath)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerablepublic void setUseResXDataNodes(boolean UseResXDataNodes)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException