| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| protected static final StringManager | sm
The string resources for this package. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static String | Returns: The absolute path to the expanded directory for the given WARHost war is being installed for host, URL URL of the web application archive to be expanded (must start with "jar:") war, String Context path name for web application pathname)Expand the WAR file found at the specified URL into an unpacked directory structure. |
| private static void | expand(InputStream
InputStream to be copied input, File The file to be created file)Expand the specified input stream into the specified file. |
| public static void |
| log | back to summary |
|---|---|
| private static final Log log | |
| sm | back to summary |
|---|---|
| protected static final StringManager sm The string resources for this package. | |
| ExpandWar | back to summary |
|---|---|
| public ExpandWar() | |
| 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 sub-directories recursively. Any failure will be logged.
| |
| delete | back to summary |
|---|---|
| public static boolean delete(File dir, boolean logFailure) Delete the specified directory, including all of its contents and sub-directories recursively.
| |
| deleteDir | back to summary |
|---|---|
| public static boolean deleteDir(File dir) Delete the specified directory, including all of its contents and sub-directories recursively. Any failure will be logged.
| |
| deleteDir | back to summary |
|---|---|
| public static boolean deleteDir(File dir, boolean logFailure) Delete the specified directory, including all of its contents and sub-directories recursively.
| |
| expand | back to summary |
|---|---|
| public static String expand(Host host, URL war, String pathname) throws IOException Expand the WAR file found at the specified URL into an unpacked directory structure.
| |
| expand | back to summary |
|---|---|
| private static void expand(InputStream input, File file) throws IOException Expand the specified input stream into the specified file.
| |
| validate | back to summary |
|---|---|
| public static void validate(Host host, URL war, String pathname) throws IOException Validate the WAR file found at the specified URL.
| |