|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jnlp.cache.CacheDirectory
public final class CacheDirectory
Method Summary | |
---|---|
static boolean |
cleanDir(java.io.File root)
Removes empty folders in the current directory. |
static void |
cleanParent(DirectoryNode fileNode)
This will recursively remove the parent folders if they are empty. |
static void |
getDirStructure(DirectoryNode root)
Get the structure of directory for keeping track of the protocol and domain. |
static java.util.ArrayList<DirectoryNode> |
getLeafData(DirectoryNode root)
Get all the leaf nodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void getDirStructure(DirectoryNode root)
root
- Location of cache directory.public static java.util.ArrayList<DirectoryNode> getLeafData(DirectoryNode root)
root
- The point where we want to start getting the leafs.
public static boolean cleanDir(java.io.File root)
root
- File pointing at the beginning of directory.
public static void cleanParent(DirectoryNode fileNode)
fileNode
-
|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |