oracle.jdeveloper.jsp.utils
Class WARUtil
java.lang.Object
oracle.jdeveloper.jsp.utils.WARUtil
- public class WARUtil
- extends java.lang.Object
The WARUtil
class.
Method Summary |
static java.util.ArrayList |
expand(java.net.URL dir, java.net.URL war)
Expand a WAR/Jar file in a directory. |
static java.util.ArrayList |
expand(java.net.URL dir, java.net.URL war, java.lang.String[] suffixExcludes, java.lang.String[] nameExcludes)
Expand a WAR/Jar file in a directory. |
boolean |
importWarToProject(java.net.URL war, JProject project, java.lang.String[] suffixExcludes, java.lang.String[] nameExcludes)
This method adds files to the project |
boolean |
importWarToProject(java.net.URL war, JProject project, java.lang.String[] suffixExcludes, java.lang.String[] nameExcludes, boolean addToNavigator)
This method adds files to the project |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WARUtil
public WARUtil()
expand
public static java.util.ArrayList expand(java.net.URL dir,
java.net.URL war)
throws java.net.MalformedURLException,
java.io.IOException
- Expand a WAR/Jar file in a directory.
-
- Parameters:
dir
- destination directory
war
- URL for the source WAR/JAR/ZIP file. Starting and ending "/" will be removed
- Throws:
java.net.MalformedURLException
java.io.IOException
importWarToProject
public boolean importWarToProject(java.net.URL war,
JProject project,
java.lang.String[] suffixExcludes,
java.lang.String[] nameExcludes)
throws java.io.IOException
- This method adds files to the project
-
- Throws:
java.io.IOException
importWarToProject
public boolean importWarToProject(java.net.URL war,
JProject project,
java.lang.String[] suffixExcludes,
java.lang.String[] nameExcludes,
boolean addToNavigator)
throws java.io.IOException
- This method adds files to the project
-
- Throws:
java.io.IOException
expand
public static java.util.ArrayList expand(java.net.URL dir,
java.net.URL war,
java.lang.String[] suffixExcludes,
java.lang.String[] nameExcludes)
throws java.net.MalformedURLException,
java.io.IOException
- Expand a WAR/Jar file in a directory.
-
- Parameters:
dir
- destination directory
war
- URL for the source WAR/JAR/ZIP file. Starting and ending "/" will be removed
- Throws:
java.net.MalformedURLException
java.io.IOException
Copyright © 1997, 2004, Oracle. All rights reserved.