|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.util.NOFileUtil
This class contains general usefull function for handling files
Method Summary | |
static void |
createDirectory(java.lang.String path)
Given a path string create all the directories in the path. |
static boolean |
deleteFile(java.io.File file)
Deletes a file or a directory along with all files and directories it contains. |
static void |
unzip(java.lang.String file,
java.lang.String dest,
javax.swing.JProgressBar jProgressBar)
Unzip a fie |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean deleteFile(java.io.File file)
file
- the file or directory to delete
public static void createDirectory(java.lang.String path)
path
- Directory path string.public static void unzip(java.lang.String file, java.lang.String dest, javax.swing.JProgressBar jProgressBar) throws java.io.IOException
file
- the filedest
- the destination directoryjProgressBar
- the load advance
java.io.IOException
- an IO exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |