Uses of Enum Class
com.github.robtimus.os.windows.registry.RegistryKey.HandleOption
-
Uses of RegistryKey.HandleOption in com.github.robtimus.os.windows.registry
Subclasses with type arguments of type RegistryKey.HandleOption in com.github.robtimus.os.windows.registryModifier and TypeClassDescriptionstatic enumAn enumeration over the possible options for opening Windows registry handles.Methods in com.github.robtimus.os.windows.registry that return RegistryKey.HandleOptionModifier and TypeMethodDescriptionstatic RegistryKey.HandleOptionReturns the enum constant of this class with the specified name.static RegistryKey.HandleOption[]RegistryKey.HandleOption.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.github.robtimus.os.windows.registry with parameters of type RegistryKey.HandleOptionModifier and TypeMethodDescriptionRegistryKey.handle(RegistryKey.HandleOption... options) Creates a handle to this registry key.voidRegistryKey.ifAccessible(Consumer<? super RegistryKey.Handle> action, RegistryKey.HandleOption... options) Runs an action on aRegistryKey.Handleif this registry key is accessible.<R> Optional<R> RegistryKey.ifAccessible(Function<? super RegistryKey.Handle, ? extends R> action, RegistryKey.HandleOption... options) Runs an action on aRegistryKey.Handleif this registry key is accessible.voidRegistryKey.ifExists(Consumer<? super RegistryKey.Handle> action, RegistryKey.HandleOption... options) Runs an action on aRegistryKey.Handleif this registry key exists.<R> Optional<R> RegistryKey.ifExists(Function<? super RegistryKey.Handle, ? extends R> action, RegistryKey.HandleOption... options) Runs an action on aRegistryKey.Handleif this registry key exists.