public class ResXResourceReader extends NetObjectEnumerable implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/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=9.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)
Initializes a new instance by invoking the .NET constructor.
|
ResXResourceReader(Stream stream,
AssemblyName[] assemblyNames)
Initializes a new instance by invoking the .NET constructor.
|
ResXResourceReader(Stream stream,
ITypeResolutionService typeResolver)
Initializes a new instance by invoking the .NET constructor.
|
ResXResourceReader(java.lang.String fileName)
Initializes a new instance by invoking the .NET constructor.
|
ResXResourceReader(java.lang.String fileName,
AssemblyName[] assemblyNames)
Initializes a new instance by invoking the .NET constructor.
|
ResXResourceReader(java.lang.String fileName,
ITypeResolutionService typeResolver)
Initializes a new instance by invoking the .NET constructor.
|
ResXResourceReader(TextReader reader)
Initializes a new instance by invoking the .NET constructor.
|
ResXResourceReader(TextReader reader,
AssemblyName[] assemblyNames)
Initializes a new instance by invoking the .NET constructor.
|
ResXResourceReader(TextReader reader,
ITypeResolutionService typeResolver)
Initializes a new instance by invoking the .NET constructor.
|
| 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()
Invokes the .NET member Close.
|
static ResXResourceReader |
FromFileContents(java.lang.String fileContents)
Invokes the .NET member FromFileContents.
|
static ResXResourceReader |
FromFileContents(java.lang.String fileContents,
AssemblyName[] assemblyNames)
Invokes the .NET member FromFileContents.
|
static ResXResourceReader |
FromFileContents(java.lang.String fileContents,
ITypeResolutionService typeResolver)
Invokes the .NET member FromFileContents.
|
java.lang.String |
getBasePath()
Gets the value of the .NET property BasePath.
|
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. |
IDictionaryEnumerator |
GetMetadataEnumerator()
Invokes the .NET member GetMetadataEnumerator.
|
boolean |
getUseResXDataNodes()
Gets the value of the .NET property UseResXDataNodes.
|
void |
setBasePath(java.lang.String BasePath)
Sets the value of the .NET property BasePath.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setUseResXDataNodes(boolean UseResXDataNodes)
Sets the value of the .NET property UseResXDataNodes.
|
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 ResXResourceReader()
throws java.lang.Throwable
java.lang.Throwablepublic ResXResourceReader(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 ResXResourceReader(Stream stream) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
stream - the argument of type Streamjava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ResXResourceReader(Stream stream, AssemblyName[] assemblyNames) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
stream - the argument of type StreamassemblyNames - the argument of type AssemblyName[]java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ResXResourceReader(Stream stream, ITypeResolutionService typeResolver) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
stream - the argument of type StreamtypeResolver - the argument of type ITypeResolutionServicejava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ResXResourceReader(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException
fileName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ResXResourceReader(java.lang.String fileName,
AssemblyName[] assemblyNames)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException
fileName - the argument of type java.lang.StringassemblyNames - the argument of type AssemblyName[]java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ResXResourceReader(java.lang.String fileName,
ITypeResolutionService typeResolver)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException
fileName - the argument of type java.lang.StringtypeResolver - the argument of type ITypeResolutionServicejava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ResXResourceReader(TextReader reader) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
reader - the argument of type TextReaderjava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ResXResourceReader(TextReader reader, AssemblyName[] assemblyNames) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
reader - the argument of type TextReaderassemblyNames - the argument of type AssemblyName[]java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ResXResourceReader(TextReader reader, ITypeResolutionService typeResolver) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
reader - the argument of type TextReadertypeResolver - the argument of type ITypeResolutionServicejava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic 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.Throwable - if the call fails in the bridge or in the CLRpublic static ResXResourceReader FromFileContents(java.lang.String fileContents) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException
fileContents - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static ResXResourceReader FromFileContents(java.lang.String fileContents, AssemblyName[] assemblyNames) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
fileContents - the argument of type java.lang.StringassemblyNames - the argument of type AssemblyName[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static ResXResourceReader FromFileContents(java.lang.String fileContents, ITypeResolutionService typeResolver) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException
fileContents - the argument of type java.lang.StringtypeResolver - the argument of type ITypeResolutionServicejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic java.lang.String getBasePath()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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 IDictionaryEnumerator GetMetadataEnumerator() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, SerializationException, ArrayTypeMismatchException, IOException, InvalidOperationException, XmlException, FileLoadException, CultureNotFoundException, SecurityException, TypeLoadException, RankException, TargetInvocationException
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 itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itSerializationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itXmlException - if the .NET member raises itFileLoadException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSecurityException - if the .NET member raises itTypeLoadException - if the .NET member raises itRankException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic boolean getUseResXDataNodes()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setBasePath(java.lang.String BasePath)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
BasePath - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying objectpublic void setUseResXDataNodes(boolean UseResXDataNodes)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
UseResXDataNodes - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises it