Package microsoft.win32
Class RegistryKey
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- microsoft.win32.RegistryKey
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class RegistryKey extends MarshalByRefObject implements java.lang.AutoCloseable
The base .NET class managing Microsoft.Win32.RegistryKey, Microsoft.Win32.Registry, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Win32.RegistryKey
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: Microsoft.Win32.Registry, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.Win32.Registrystatic java.lang.StringclassNameQualified class name: Microsoft.Win32.RegistryKeystatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description RegistryKey()RegistryKey(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegistryKeycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoRegistryKey, a cast assert is made to check if types are compatible.voidclose()voidClose()RegistryKeyCreateSubKey(java.lang.String subkey)RegistryKeyCreateSubKey(java.lang.String subkey, boolean writable)RegistryKeyCreateSubKey(java.lang.String subkey, boolean writable, RegistryOptions options)RegistryKeyCreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck)RegistryKeyCreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions)RegistryKeyCreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions, RegistrySecurity registrySecurity)RegistryKeyCreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity)voidDeleteSubKey(java.lang.String subkey)voidDeleteSubKey(java.lang.String subkey, boolean throwOnMissingSubKey)voidDeleteSubKeyTree(java.lang.String subkey)voidDeleteSubKeyTree(java.lang.String subkey, boolean throwOnMissingSubKey)voidDeleteValue(java.lang.String name)voidDeleteValue(java.lang.String name, boolean throwOnMissingValue)voidDispose()voidFlush()static RegistryKeyFromHandle(SafeRegistryHandle handle)static RegistryKeyFromHandle(SafeRegistryHandle handle, RegistryView view)RegistrySecurityGetAccessControl()RegistrySecurityGetAccessControl(AccessControlSections includeSections)SafeRegistryHandlegetHandle()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetName()intgetSubKeyCount()java.lang.String[]GetSubKeyNames()NetObjectGetValue(java.lang.String name)NetObjectGetValue(java.lang.String name, NetObject defaultValue)NetObjectGetValue(java.lang.String name, NetObject defaultValue, RegistryValueOptions options)intgetValueCount()RegistryValueKindGetValueKind(java.lang.String name)java.lang.String[]GetValueNames()RegistryViewgetView()static RegistryKeyOpenBaseKey(RegistryHive hKey, RegistryView view)static RegistryKeyOpenRemoteBaseKey(RegistryHive hKey, java.lang.String machineName)static RegistryKeyOpenRemoteBaseKey(RegistryHive hKey, java.lang.String machineName, RegistryView view)RegistryKeyOpenSubKey(java.lang.String name)RegistryKeyOpenSubKey(java.lang.String name, boolean writable)RegistryKeyOpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck)RegistryKeyOpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck, RegistryRights rights)RegistryKeyOpenSubKey(java.lang.String name, RegistryRights rights)voidSetAccessControl(RegistrySecurity registrySecurity)voidsetJCOInstance(JCObject instance)voidSetValue(java.lang.String name, NetObject value)voidSetValue(java.lang.String name, NetObject value, RegistryValueKind valueKind)-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.Win32.Registry, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.Win32.Registry- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Win32.RegistryKey- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classMarshalByRefObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classMarshalByRefObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classMarshalByRefObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classMarshalByRefObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classMarshalByRefObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classMarshalByRefObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static RegistryKey cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoRegistryKey, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
RegistryKeyinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, boolean writable, RegistryOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, InvalidOperationException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIOExceptionInvalidOperationExceptionFormatException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, boolean writable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, InvalidOperationException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIOExceptionInvalidOperationExceptionFormatException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions, RegistrySecurity registrySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, InvalidOperationException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIOExceptionInvalidOperationExceptionFormatException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, NotSupportedException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionNotSupportedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIOExceptionFormatException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, InvalidOperationException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIOExceptionInvalidOperationExceptionFormatException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, InvalidOperationException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIOExceptionInvalidOperationExceptionFormatException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, FormatException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionFormatExceptionIOException
-
FromHandle
public static RegistryKey FromHandle(SafeRegistryHandle handle, RegistryView view) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
FromHandle
public static RegistryKey FromHandle(SafeRegistryHandle handle) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullException
-
OpenBaseKey
public static RegistryKey OpenBaseKey(RegistryHive hKey, RegistryView view) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
OpenRemoteBaseKey
public static RegistryKey OpenRemoteBaseKey(RegistryHive hKey, java.lang.String machineName, RegistryView view) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IndexOutOfRangeException, FormatException, IOException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionIOException
-
OpenRemoteBaseKey
public static RegistryKey OpenRemoteBaseKey(RegistryHive hKey, java.lang.String machineName) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ObjectDisposedException, IndexOutOfRangeException, FormatException, IOException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionIOException
-
OpenSubKey
public RegistryKey OpenSubKey(java.lang.String name, boolean writable) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionSecurityException
-
OpenSubKey
public RegistryKey OpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck, RegistryRights rights) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, SecurityException, ObjectDisposedException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionSecurityExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationException
-
OpenSubKey
public RegistryKey OpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, SecurityException, NotSupportedException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionSecurityExceptionNotSupportedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationException
-
OpenSubKey
public RegistryKey OpenSubKey(java.lang.String name, RegistryRights rights) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, SecurityException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionSecurityExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationException
-
OpenSubKey
public RegistryKey OpenSubKey(java.lang.String name) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, SecurityException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionSecurityException
-
GetValueKind
public RegistryValueKind GetValueKind(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, NotSupportedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionFormatException
-
GetValue
public NetObject GetValue(java.lang.String name, NetObject defaultValue, RegistryValueOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionArrayTypeMismatchExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionNotSupportedExceptionFormatExceptionOutOfMemoryException
-
GetValue
public NetObject GetValue(java.lang.String name, NetObject defaultValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionArrayTypeMismatchExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionNotSupportedExceptionFormatExceptionOutOfMemoryException
-
GetValue
public NetObject GetValue(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionArrayTypeMismatchExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionNotSupportedExceptionFormatExceptionOutOfMemoryException
-
GetAccessControl
public RegistrySecurity GetAccessControl() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, SynchronizationLockException, OutOfMemoryException, KeyNotFoundException, PrivilegeNotHeldException, ArrayTypeMismatchException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionFormatExceptionInvalidOperationExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionSynchronizationLockExceptionOutOfMemoryExceptionKeyNotFoundExceptionPrivilegeNotHeldExceptionArrayTypeMismatchExceptionOverflowException
-
GetAccessControl
public RegistrySecurity GetAccessControl(AccessControlSections includeSections) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, FormatException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, SynchronizationLockException, OutOfMemoryException, KeyNotFoundException, PrivilegeNotHeldException, ArrayTypeMismatchException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionSynchronizationLockExceptionOutOfMemoryExceptionKeyNotFoundExceptionPrivilegeNotHeldExceptionArrayTypeMismatchExceptionOverflowException
-
GetSubKeyNames
public java.lang.String[] GetSubKeyNames() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionFormatException
-
GetValueNames
public java.lang.String[] GetValueNames() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionFormatException
-
Close
public void Close() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullException
-
DeleteSubKey
public void DeleteSubKey(java.lang.String subkey, boolean throwOnMissingSubKey) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, UnauthorizedAccessException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIOExceptionFormatException
-
DeleteSubKey
public void DeleteSubKey(java.lang.String subkey) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, UnauthorizedAccessException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, FormatException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionUnauthorizedAccessExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIOExceptionFormatException
-
DeleteSubKeyTree
public void DeleteSubKeyTree(java.lang.String subkey, boolean throwOnMissingSubKey) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, UnauthorizedAccessException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIOExceptionFormatException
-
DeleteSubKeyTree
public void DeleteSubKeyTree(java.lang.String subkey) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, UnauthorizedAccessException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IOException, FormatException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionUnauthorizedAccessExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIOExceptionFormatException
-
DeleteValue
public void DeleteValue(java.lang.String name, boolean throwOnMissingValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException
-
DeleteValue
public void DeleteValue(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, UnauthorizedAccessException
-
Dispose
public void Dispose() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullException
-
Flush
public void Flush() throws java.lang.Throwable, ObjectDisposedException- Throws:
java.lang.ThrowableObjectDisposedException
-
SetAccessControl
public void SetAccessControl(RegistrySecurity registrySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, NotSupportedException, IOException, IndexOutOfRangeException, InvalidOperationException, FormatException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, LockRecursionException, AbandonedMutexException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionNotSupportedExceptionIOExceptionIndexOutOfRangeExceptionInvalidOperationExceptionFormatExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockException
-
SetValue
public void SetValue(java.lang.String name, NetObject value, RegistryValueKind valueKind) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, UnauthorizedAccessException, IndexOutOfRangeException, FormatException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionFormatExceptionIOException
-
SetValue
public void SetValue(java.lang.String name, NetObject value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, UnauthorizedAccessException, IndexOutOfRangeException, FormatException, IOException
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
getSubKeyCount
public int getSubKeyCount() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, NotSupportedException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionFormatException
-
getValueCount
public int getValueCount() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, NotSupportedException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionFormatException
-
getView
public RegistryView getView() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getHandle
public SafeRegistryHandle getHandle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, NotSupportedException, FormatException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionFormatExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationException
-
getName
public java.lang.String getName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
-