com.caucho.java
Class WorkDir

java.lang.Object
  extended by com.caucho.java.WorkDir

public class WorkDir
extends java.lang.Object


Constructor Summary
WorkDir()
           
 
Method Summary
static Path getLocalWorkDir()
          Returns the local work directory.
static Path getLocalWorkDir(java.lang.ClassLoader loader)
          Returns the local work directory.
static Path getTmpWorkDir()
          Returns the user directory from /tmp/
 void init()
          Stores self.
 void setId(Path path)
          Deprecated.  
static void setLocalWorkDir(Path path)
          Sets the work dir.
static void setLocalWorkDir(Path path, java.lang.ClassLoader loader)
          Sets the work dir.
 void setValue(Path path)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkDir

public WorkDir()
Method Detail

getLocalWorkDir

public static Path getLocalWorkDir()
Returns the local work directory.


getLocalWorkDir

public static Path getLocalWorkDir(java.lang.ClassLoader loader)
Returns the local work directory.


getTmpWorkDir

public static Path getTmpWorkDir()
Returns the user directory from /tmp/


setLocalWorkDir

public static void setLocalWorkDir(Path path)
Sets the work dir.


setLocalWorkDir

public static void setLocalWorkDir(Path path,
                                   java.lang.ClassLoader loader)
Sets the work dir.


setValue

public void setValue(Path path)
Sets the value.


setId

public void setId(Path path)
           throws java.io.IOException
Deprecated. 

Throws:
java.io.IOException

init

@PostConstruct
public void init()
Stores self.