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.String
assemblyFullName
Fully assembly qualified name: Microsoft.Win32.Registry, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.Win32.Registrystatic java.lang.String
className
Qualified class name: Microsoft.Win32.RegistryKeystatic JCType
classType
The 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 RegistryKey
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoRegistryKey
, a cast assert is made to check if types are compatible.void
close()
void
Close()
RegistryKey
CreateSubKey(java.lang.String subkey)
RegistryKey
CreateSubKey(java.lang.String subkey, boolean writable)
RegistryKey
CreateSubKey(java.lang.String subkey, boolean writable, RegistryOptions options)
RegistryKey
CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck)
RegistryKey
CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions)
RegistryKey
CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions, RegistrySecurity registrySecurity)
RegistryKey
CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity)
void
DeleteSubKey(java.lang.String subkey)
void
DeleteSubKey(java.lang.String subkey, boolean throwOnMissingSubKey)
void
DeleteSubKeyTree(java.lang.String subkey)
void
DeleteSubKeyTree(java.lang.String subkey, boolean throwOnMissingSubKey)
void
DeleteValue(java.lang.String name)
void
DeleteValue(java.lang.String name, boolean throwOnMissingValue)
void
Dispose()
void
Flush()
static RegistryKey
FromHandle(SafeRegistryHandle handle)
static RegistryKey
FromHandle(SafeRegistryHandle handle, RegistryView view)
RegistrySecurity
GetAccessControl()
RegistrySecurity
GetAccessControl(AccessControlSections includeSections)
SafeRegistryHandle
getHandle()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getName()
int
getSubKeyCount()
java.lang.String[]
GetSubKeyNames()
NetObject
GetValue(java.lang.String name)
NetObject
GetValue(java.lang.String name, NetObject defaultValue)
NetObject
GetValue(java.lang.String name, NetObject defaultValue, RegistryValueOptions options)
int
getValueCount()
RegistryValueKind
GetValueKind(java.lang.String name)
java.lang.String[]
GetValueNames()
RegistryView
getView()
static RegistryKey
OpenBaseKey(RegistryHive hKey, RegistryView view)
static RegistryKey
OpenRemoteBaseKey(RegistryHive hKey, java.lang.String machineName)
static RegistryKey
OpenRemoteBaseKey(RegistryHive hKey, java.lang.String machineName, RegistryView view)
RegistryKey
OpenSubKey(java.lang.String name)
RegistryKey
OpenSubKey(java.lang.String name, boolean writable)
RegistryKey
OpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck)
RegistryKey
OpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck, RegistryRights rights)
RegistryKey
OpenSubKey(java.lang.String name, RegistryRights rights)
void
SetAccessControl(RegistrySecurity registrySecurity)
void
setJCOInstance(JCObject instance)
void
SetValue(java.lang.String name, NetObject value)
void
SetValue(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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classMarshalByRefObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classMarshalByRefObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classMarshalByRefObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classMarshalByRefObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classMarshalByRefObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classMarshalByRefObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static RegistryKey cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoRegistryKey
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
RegistryKey
instance- 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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
ArrayTypeMismatchException
IndexOutOfRangeException
OutOfMemoryException
RankException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
InvalidOperationException
FormatException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
ArrayTypeMismatchException
IndexOutOfRangeException
OutOfMemoryException
RankException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
InvalidOperationException
FormatException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
ArrayTypeMismatchException
IndexOutOfRangeException
OutOfMemoryException
RankException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
InvalidOperationException
FormatException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
NotSupportedException
IndexOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
RankException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
FormatException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
ArrayTypeMismatchException
IndexOutOfRangeException
OutOfMemoryException
RankException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
InvalidOperationException
FormatException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
ArrayTypeMismatchException
IndexOutOfRangeException
OutOfMemoryException
RankException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
InvalidOperationException
FormatException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
UnauthorizedAccessException
NotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
OutOfMemoryException
RankException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
FormatException
IOException
-
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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IndexOutOfRangeException
FormatException
IOException
-
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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ObjectDisposedException
IndexOutOfRangeException
FormatException
IOException
-
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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
ObjectDisposedException
IndexOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
SecurityException
-
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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
SecurityException
ObjectDisposedException
IndexOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
SecurityException
NotSupportedException
IndexOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
RankException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
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.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
SecurityException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
RankException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
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.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
RankException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
SecurityException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
NotSupportedException
FormatException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
ArrayTypeMismatchException
IOException
UnauthorizedAccessException
IndexOutOfRangeException
NotSupportedException
FormatException
OutOfMemoryException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
ArrayTypeMismatchException
IOException
UnauthorizedAccessException
IndexOutOfRangeException
NotSupportedException
FormatException
OutOfMemoryException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
ArrayTypeMismatchException
IOException
UnauthorizedAccessException
IndexOutOfRangeException
NotSupportedException
FormatException
OutOfMemoryException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
FormatException
InvalidOperationException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
SynchronizationLockException
OutOfMemoryException
KeyNotFoundException
PrivilegeNotHeldException
ArrayTypeMismatchException
OverflowException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
FormatException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
SynchronizationLockException
OutOfMemoryException
KeyNotFoundException
PrivilegeNotHeldException
ArrayTypeMismatchException
OverflowException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
FormatException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
NotSupportedException
InvalidOperationException
FormatException
-
Close
public void Close() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
-
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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
ObjectDisposedException
UnauthorizedAccessException
IndexOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
FormatException
-
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.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
ObjectDisposedException
UnauthorizedAccessException
InvalidOperationException
IndexOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
RankException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
FormatException
-
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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
ObjectDisposedException
UnauthorizedAccessException
IndexOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
FormatException
-
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.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
ObjectDisposedException
UnauthorizedAccessException
InvalidOperationException
IndexOutOfRangeException
ArrayTypeMismatchException
OutOfMemoryException
RankException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IOException
FormatException
-
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.Throwable
ObjectDisposedException
ArgumentNullException
-
Flush
public void Flush() throws java.lang.Throwable, ObjectDisposedException
- Throws:
java.lang.Throwable
ObjectDisposedException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
NotSupportedException
IOException
IndexOutOfRangeException
InvalidOperationException
FormatException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
LockRecursionException
AbandonedMutexException
SynchronizationLockException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
UnauthorizedAccessException
IndexOutOfRangeException
FormatException
IOException
-
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:
close
in 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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
NotSupportedException
FormatException
-
getValueCount
public int getValueCount() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, NotSupportedException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
NotSupportedException
FormatException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
UnauthorizedAccessException
IOException
IndexOutOfRangeException
NotSupportedException
FormatException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
getName
public java.lang.String getName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
-