|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jaulp.file.create.CreateFileUtils
public class CreateFileUtils
The Class CreateFileUtils helps you to create files or directories.
| Constructor Summary | |
|---|---|
CreateFileUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
createDirectory(java.io.File dir)
Creates a new directory. |
static boolean |
createFile(java.io.File file)
Creates an empty file if the File does not exists otherwise it lets the file as it is. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateFileUtils()
| Method Detail |
|---|
public static boolean createDirectory(java.io.File dir)
throws DirectoryAllreadyExistsException
dir - The directory to create.
DirectoryAllreadyExistsException - Thrown if the directory all ready exists.
public static boolean createFile(java.io.File file)
throws java.io.IOException
file - the file.
java.io.IOException - Signals that an I/O exception has occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||