Definition at line 46 of file FileTree.java.
Public Member Functions | |
FileTree (String name) | |
Creates a new FileTree instance based on given pathname string. | |
FileTree (File file, String name) | |
Creates a new Filetree instance by a pathname string to an existing File or FileTree. | |
FileTree (String n1, String n2) | |
Creates a new FileTree instance from a parent pathname string and a child pathname string. | |
void | copyTo (File copyFile) throws IOException |
Copy this file tree to specified destination. | |
boolean | delete () |
Delete this file tree from disk. |
void org.knopflerfish.framework.FileTree.copyTo | ( | File | copyFile | ) | throws IOException |
Copy this file tree to specified destination.
copyFile | File object representing the destination. |
IOException | if copy failed. Will leave destination in an unspecified state. |
Definition at line 82 of file FileTree.java.
References org.knopflerfish.framework.FileTree.FileTree().
boolean org.knopflerfish.framework.FileTree.delete | ( | ) |
Delete this file tree from disk.
Definition at line 124 of file FileTree.java.
References org.knopflerfish.framework.FileTree.FileTree().
Referenced by org.knopflerfish.framework.bundlestorage.file.BundleStorageImpl.BundleStorageImpl(), org.knopflerfish.framework.bundlestorage.file.BundleStorageImpl.insertBundleJar(), and org.knopflerfish.framework.bundlestorage.file.Archive.purge().