lemurproject.indri.ui
Class GetPaths

java.lang.Object
  extended by lemurproject.indri.ui.GetPaths

public class GetPaths
extends java.lang.Object

Utility class to get the paths to support applications from the Windows registry.


Nested Class Summary
(package private) static class GetPaths.StreamReader
          Read a stream into a String.
 
Field Summary
private static java.lang.String PATH_CMD
           
private static java.lang.String REGDWORD_TOKEN
           
private static java.lang.String REGQUERY_UTIL
           
private static java.lang.String REGSTR_TOKEN
           
 
Constructor Summary
GetPaths()
           
 
Method Summary
static java.lang.String getPath(java.lang.String prog)
          Look up an applicaton in the registry and retrun the full path to the executable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGQUERY_UTIL

private static final java.lang.String REGQUERY_UTIL
See Also:
Constant Field Values

REGSTR_TOKEN

private static final java.lang.String REGSTR_TOKEN
See Also:
Constant Field Values

REGDWORD_TOKEN

private static final java.lang.String REGDWORD_TOKEN
See Also:
Constant Field Values

PATH_CMD

private static final java.lang.String PATH_CMD
See Also:
Constant Field Values
Constructor Detail

GetPaths

public GetPaths()
Method Detail

getPath

public static java.lang.String getPath(java.lang.String prog)
Look up an applicaton in the registry and retrun the full path to the executable.