org.littleshoot.util
Class WindowsRegistry
java.lang.Object
org.littleshoot.util.WindowsRegistry
public class WindowsRegistry
- extends Object
Utility class for reading from the registry.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowsRegistry
public WindowsRegistry()
write
public static final int write(String key,
String valueName,
String valueData)
- Reads the value of a registry key.
- Parameters:
key - The registry key to query.valueName - Name of the registry value.
- Returns:
read
public static final String read(String key,
String valueName)
- Reads the value of a registry key.
- Parameters:
key - The registry key to query.valueName - Name of the registry value.
- Returns:
- registry value or the empty string if not found.
Copyright © 2011-2013 LittleShoot. All Rights Reserved.