Package | Description |
---|---|
net.sourceforge.jnlp.cache |
This package contains the JNLP cache.
|
Modifier and Type | Method | Description |
---|---|---|
DirectoryNode |
DirectoryNode.getParent() |
Retrieve the parent node.
|
Modifier and Type | Method | 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 | 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 | 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 | Description |
---|---|
DirectoryNode(java.lang.String name,
java.io.File absPathToNode,
java.util.ArrayList<DirectoryNode> childNodes,
DirectoryNode parent) |
Create a new instance of DirectoryNode.
|