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=6.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=6.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=6.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, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, PlatformNotSupportedException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionExternalExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionIOException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, boolean writable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, PlatformNotSupportedException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionExternalExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionIOException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions, RegistrySecurity registrySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, PlatformNotSupportedException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionExternalExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionIOException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, RankException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionInvalidOperationExceptionObjectDisposedExceptionUnauthorizedAccessExceptionArrayTypeMismatchExceptionRankExceptionIOException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, PlatformNotSupportedException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionExternalExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionIOException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, PlatformNotSupportedException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionExternalExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionIOException
-
CreateSubKey
public RegistryKey CreateSubKey(java.lang.String subkey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, FormatException, IOException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionFormatExceptionIOException
-
FromHandle
public static RegistryKey FromHandle(SafeRegistryHandle handle, RegistryView view) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
FromHandle
public static RegistryKey FromHandle(SafeRegistryHandle handle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
OpenBaseKey
public static RegistryKey OpenBaseKey(RegistryHive hKey, RegistryView view) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
OpenRemoteBaseKey
public static RegistryKey OpenRemoteBaseKey(RegistryHive hKey, java.lang.String machineName, RegistryView view) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IOException
-
OpenRemoteBaseKey
public static RegistryKey OpenRemoteBaseKey(RegistryHive hKey, java.lang.String machineName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, IOException
-
OpenSubKey
public RegistryKey OpenSubKey(java.lang.String name, boolean writable) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OutOfMemoryException, ExternalException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionSecurityException
-
OpenSubKey
public RegistryKey OpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck, RegistryRights rights) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OutOfMemoryException, ExternalException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionSecurityException
-
OpenSubKey
public RegistryKey OpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, InvalidOperationException, SecurityException, ObjectDisposedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionExternalExceptionInvalidOperationExceptionSecurityExceptionObjectDisposedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankException
-
OpenSubKey
public RegistryKey OpenSubKey(java.lang.String name, RegistryRights rights) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionSecurityException
-
OpenSubKey
public RegistryKey OpenSubKey(java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionSecurityException
-
GetValueKind
public RegistryValueKind GetValueKind(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException
-
GetValue
public NetObject GetValue(java.lang.String name, NetObject defaultValue, RegistryValueOptions options) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, PlatformNotSupportedException, IndexOutOfRangeException
-
GetValue
public NetObject GetValue(java.lang.String name, NetObject defaultValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArrayTypeMismatchException
-
GetValue
public NetObject GetValue(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArrayTypeMismatchException
-
GetAccessControl
public RegistrySecurity GetAccessControl() throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, KeyNotFoundException, SynchronizationLockException, OutOfMemoryException, PrivilegeNotHeldException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionSynchronizationLockExceptionOutOfMemoryExceptionPrivilegeNotHeldExceptionOverflowException
-
GetAccessControl
public RegistrySecurity GetAccessControl(AccessControlSections includeSections) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, PlatformNotSupportedException, NotSupportedException, UnauthorizedAccessException, IOException, InvalidOperationException, IndexOutOfRangeException, KeyNotFoundException, SynchronizationLockException, OutOfMemoryException, PrivilegeNotHeldException, ArrayTypeMismatchException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionPlatformNotSupportedExceptionNotSupportedExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionSynchronizationLockExceptionOutOfMemoryExceptionPrivilegeNotHeldExceptionArrayTypeMismatchExceptionOverflowException
-
GetSubKeyNames
public java.lang.String[] GetSubKeyNames() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchException
-
GetValueNames
public java.lang.String[] GetValueNames() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchException
-
Close
public void Close() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException
-
DeleteSubKey
public void DeleteSubKey(java.lang.String subkey, boolean throwOnMissingSubKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OutOfMemoryException, ExternalException, UnauthorizedAccessException, FormatException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionUnauthorizedAccessExceptionFormatExceptionIOException
-
DeleteSubKey
public void DeleteSubKey(java.lang.String subkey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException, UnauthorizedAccessException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionUnauthorizedAccessExceptionIOException
-
DeleteSubKeyTree
public void DeleteSubKeyTree(java.lang.String subkey, boolean throwOnMissingSubKey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OutOfMemoryException, ExternalException, UnauthorizedAccessException, FormatException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionUnauthorizedAccessExceptionFormatExceptionIOException
-
DeleteSubKeyTree
public void DeleteSubKeyTree(java.lang.String subkey) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException, UnauthorizedAccessException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionUnauthorizedAccessExceptionIOException
-
DeleteValue
public void DeleteValue(java.lang.String name, boolean throwOnMissingValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, UnauthorizedAccessException
-
DeleteValue
public void DeleteValue(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, UnauthorizedAccessException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionUnauthorizedAccessException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Flush
public void Flush() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SetAccessControl
public void SetAccessControl(RegistrySecurity registrySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArrayTypeMismatchException, LockRecursionException, AbandonedMutexException, SynchronizationLockException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionUnauthorizedAccessExceptionIOExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockException
-
SetValue
public void SetValue(java.lang.String name, NetObject value, RegistryValueKind valueKind) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOException
-
SetValue
public void SetValue(java.lang.String name, NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, UnauthorizedAccessException, FormatException, IOException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionUnauthorizedAccessExceptionFormatExceptionIOException
-
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, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
-
getValueCount
public int getValueCount() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException
-
getView
public RegistryView getView() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedException
-
getHandle
public SafeRegistryHandle getHandle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, PlatformNotSupportedException, NotSupportedException, UnauthorizedAccessException, IOException, InvalidOperationException, IndexOutOfRangeException
-
getName
public java.lang.String getName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedException
-
-