| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static String | Returns: Absolute path as injava. of location where to find expanded jar.URL of the web application archive to be expanded (must start with "jar:") jar)Expand the jar file found at the specified URL into an unpacked directory structure, and return the absolute pathname to the expanded directory. |
| public static String | Returns: Absolute path as injava. of location where to find expanded jar.URL of the web application archive to be expanded (must start with "jar:") jar, String the folder where the file will be expanded workFolder)Expand the jar file found at the specified URL into an unpacked directory structure, and return the absolute pathname to the expanded directory. |
| public static String | Returns: Absolute path as injava. of location where to find expanded jar.URL of the web application archive to be expanded (must start with "jar:") jar, String Context path name for web application pathname, String dirname)Expand the jar file found at the specified URL into an unpacked directory structure, and return the absolute pathname to the expanded directory. |
| protected static void | expand(InputStream
InputStream to be copied input, File Document base directory into which we are expanding docBase, String Relative pathname of the file to be created name)Expand the specified input stream into the specified directory, creating a file named from the specified relative path. |
| ExpandJar | back to summary |
|---|---|
| public ExpandJar() | |
| copy | back to summary |
|---|---|
| public static boolean copy(File src, File dest) Copy the specified file or directory to the destination. | |
| delete | back to summary |
|---|---|
| public static boolean delete(File dir) Delete the specified directory, including all of its contents and subdirectories recursively.
| |
| deleteDir | back to summary |
|---|---|
| public static boolean deleteDir(File dir) Delete the specified directory, including all of its contents and subdirectories recursively.
| |
| expand | back to summary |
|---|---|
| public static String expand(URL jar) throws IOException Expand the jar file found at the specified URL into an unpacked directory structure, and return the absolute pathname to the expanded directory.
| |
| expand | back to summary |
|---|---|
| public static String expand(URL jar, String workFolder) throws IOException Expand the jar file found at the specified URL into an unpacked directory structure, and return the absolute pathname to the expanded directory.
| |
| expand | back to summary |
|---|---|
| public static String expand(URL jar, String pathname, String dirname) throws IOException Expand the jar file found at the specified URL into an unpacked directory structure, and return the absolute pathname to the expanded directory.
| |
| expand | back to summary |
|---|---|
| protected static void expand(InputStream input, File docBase, String name) throws IOException Expand the specified input stream into the specified directory, creating a file named from the specified relative path.
| |