public class RegistryEvent extends Object
This class represents a registry event for when a registry key changes. These changes can be anywhere from a key or value being added to a key or value being renamed.
Constructor and Description |
---|
RegistryEvent(int id,
RegistryKey key)
Constructs a
new RegistryEvent. |
Modifier and Type | Method and Description |
---|---|
int |
getID()
Returns the watch id number for the registry
key.
|
RegistryKey |
getKey()
Used to retrieve the key that is being watched.
|
public RegistryEvent(int id, RegistryKey key)
new
RegistryEvent.id
- the id for the watched registry key.key
- the watched registry key.public int getID()
public RegistryKey getKey()
Copyright © 2011, Yinon Michaeli. All rights reserved.