|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtools.io.DirectoryOperations
public final class DirectoryOperations
a simple helper class for directory operations (typically mkdir).
Constructor Summary | |
---|---|
DirectoryOperations()
|
Method Summary | |
---|---|
static File |
createTempFile(String prefix,
String suffix,
File dir)
creates a temp file with respect to the singleton mutex. |
static Object |
getMutex()
gets a mutex singleton as semaphore for mkdir operations. |
static void |
mkdir(File dir)
creates a directory with respect to the singleton mutex. |
static void |
mkfiledir(File file)
creates the hosting directory of a file with respect to the singleton mutex. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectoryOperations()
Method Detail |
---|
public static File createTempFile(String prefix, String suffix, File dir) throws IOException
IOException
public static Object getMutex()
public static void mkdir(File dir)
public static void mkfiledir(File file)
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |