public final class RegistryQuery extends Object
Constructor and Description |
---|
RegistryQuery() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteValue(String branch,
String entry)
deletes a value or a key
|
static String |
executeQuery(String[] cmd)
execute a String query on command line
|
static RegistryEntry |
getValue(String branch,
String entry,
short type)
gets a single value form the registry
|
static RegistryEntry[] |
getValues(String branch,
short type)
gets all entries of one branch
|
static void |
setValue(String branch,
String entry,
short type,
String value)
writes a value to registry
|
public RegistryQuery()
public static String executeQuery(String[] cmd) throws IOException, InterruptedException
query
- String to executeIOException
InterruptedException
public static RegistryEntry getValue(String branch, String entry, short type) throws RegistryException, IOException, InterruptedException
branch
- brach to get value fromentry
- entry to gettype
- type of the registry entry to getRegistryException
IOException
InterruptedException
public static RegistryEntry[] getValues(String branch, short type) throws RegistryException, IOException, InterruptedException
branch
- type
- RegistryException
IOException
InterruptedException
public static void setValue(String branch, String entry, short type, String value) throws RegistryException, IOException, InterruptedException
branch
- entry
- type
- value
- RegistryException
IOException
InterruptedException
public static void deleteValue(String branch, String entry) throws IOException, InterruptedException
branch
- entry
- IOException
InterruptedException
Copyright © 2015 Lucee