|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.registry.RegistryQuery
public final class RegistryQuery
Constructor Summary | |
---|---|
RegistryQuery()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryQuery()
Method Detail |
---|
public static String executeQuery(String[] cmd) throws IOException, InterruptedException
query
- String to execute
IOException
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 get
RegistryException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |