|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.sysroot.SysRootCache
public class SysRootCache
Map from a Task's executable to its special root directory.
Constructor Summary | |
---|---|
SysRootCache()
|
Method Summary | |
---|---|
static File |
getSysRoot(String pathname)
return a sysroot File corresponding to an executable. |
static File |
getSysRoot(Task task)
|
static void |
setDefaultSysroot(String sysroot)
set the default sysroot |
static void |
setSysroot(String pathname,
String sysroot)
set the sysroot corresponding to an executable. |
static void |
setSysroot(Task task,
String sysroot)
set the sysroot corresponding to an executable. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SysRootCache()
Method Detail |
---|
public static File getSysRoot(String pathname)
pathname
- is the pathname of the executable.
public static File getSysRoot(Task task)
public static void setSysroot(String pathname, String sysroot)
pathname
- is the pathname of the executable.sysroot
- is this task's special root directory.public static void setSysroot(Task task, String sysroot)
task
- is the task corresponding to the executable.sysroot
- is this task's special root directory.public static void setDefaultSysroot(String sysroot)
sysroot
- is the default special root directory.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |