|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xmlecho.palomar.broker.Files
Provides locations in the file system.
| Field Summary | |
protected static org.apache.log4j.Logger |
logger
|
| Constructor Summary | |
protected |
Files()
have a protected constructor so that no one outside the package can new IrisFileProxy. |
| Method Summary | |
void |
clearCacheDir()
delete all files in the cache dir |
java.io.File |
createNewTempDir(java.lang.String local)
create a new, uniquely named directory for temporary usage by a single thread |
java.io.File |
createTempFile()
construct a new, unique File in the tmp directory |
static java.lang.String |
createUniqueFilename(java.lang.String userId)
construct a phony fiile name that is unique (almost). |
static void |
deleteDir(java.lang.String path)
delete a directory and all of its included files. |
java.lang.String |
getCacheDir()
|
java.lang.String |
getDtdBase()
|
java.lang.String |
getRootPath()
get the root path of the server |
java.lang.String |
getTempDir()
|
java.lang.String |
getTextIndexDir()
|
java.lang.String |
getXfsDir()
|
void |
setWebPathBase(java.lang.String webPathBase)
A servlet will need to call this on init() with info from the ServletConfig |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static org.apache.log4j.Logger logger
| Constructor Detail |
protected Files()
| Method Detail |
public java.lang.String getRootPath()
public java.lang.String getTextIndexDir()
public java.lang.String getXfsDir()
public java.lang.String getTempDir()
public java.io.File createTempFile()
public java.io.File createNewTempDir(java.lang.String local)
local - any string -- will become part of the dirnamepublic java.lang.String getDtdBase()
public java.lang.String getCacheDir()
public static java.lang.String createUniqueFilename(java.lang.String userId)
userId - user id
public void clearCacheDir()
public void setWebPathBase(java.lang.String webPathBase)
public static void deleteDir(java.lang.String path)
throws java.lang.Exception
path - directory path
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||