Package | Description |
---|---|
net.sourceforge.jnlp.cache |
This package contains the JNLP cache.
|
Modifier and Type | Method and Description |
---|---|
DirectoryNode |
DirectoryNode.getParent()
Retrieve the parent node.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<DirectoryNode> |
DirectoryNode.getChildren()
Retrieves the list of child nodes.
|
static java.util.ArrayList<DirectoryNode> |
CacheDirectory.getLeafData(DirectoryNode root)
Get all the leaf nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
DirectoryNode.addChild(DirectoryNode node)
Append the given node to the list of child nodes.
|
static void |
CacheDirectory.cleanParent(DirectoryNode fileNode)
This will recursively remove the parent folders if they are empty.
|
static void |
CacheDirectory.getDirStructure(DirectoryNode root)
Get the structure of directory for keeping track of the protocol and
domain.
|
static java.util.ArrayList<DirectoryNode> |
CacheDirectory.getLeafData(DirectoryNode root)
Get all the leaf nodes.
|
boolean |
DirectoryNode.removeChild(DirectoryNode node)
Removes the node specified.
|
Constructor and Description |
---|
DirectoryNode(java.lang.String name,
java.io.File absPathToNode,
java.util.ArrayList<DirectoryNode> childNodes,
DirectoryNode parent)
Create a new instance of DirectoryNode.
|
DirectoryNode(java.lang.String name,
java.io.File absPathToNode,
DirectoryNode parent)
Create a new instance of DirectoryNode.
|
DirectoryNode(java.lang.String name,
java.lang.String absPathToNode,
DirectoryNode parent)
Create a new instance of DirectoryNode.
|
Constructor and Description |
---|
DirectoryNode(java.lang.String name,
java.io.File absPathToNode,
java.util.ArrayList<DirectoryNode> childNodes,
DirectoryNode parent)
Create a new instance of DirectoryNode.
|