|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.util.PersistentServerFileUtil
public class PersistentServerFileUtil
Used for persistent files and directories.
| Method Summary | |
|---|---|
static java.io.File |
getPersistentDirectory()
Get a persistent directory position. |
static java.io.File |
getPersistentDirectory(java.lang.String directoryName)
|
static java.io.File |
getPersistentFile(java.lang.String fileName)
Returns a file with the given name in the persistent directory. |
static void |
setPersistentDirectory(java.io.File persistentDirectory)
Set persistent directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.io.File getPersistentDirectory()
Get a persistent directory position.
public static void setPersistentDirectory(java.io.File persistentDirectory)
Set persistent directory.
persistentDirectory -
public static java.io.File getPersistentFile(java.lang.String fileName)
throws java.io.IOException
Returns a file with the given name in the persistent directory. If the file does not exist, it will be created.
fileName - The name of the file.
java.io.IOException
public static java.io.File getPersistentDirectory(java.lang.String directoryName)
throws java.io.IOException
directoryName -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||