|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.jsp.libraries.JspLibraryUtils
public class JspLibraryUtils
Nested Class Summary | |
---|---|
static class |
JspLibraryUtils.JspLibraryComparator
|
static class |
JspLibraryUtils.JspLibraryNameComparator
the names and versions are kept in declining order |
static class |
JspLibraryUtils.JspLibraryUriComparator
the URIs and versions are kept in declining order |
Method Summary | |
---|---|
void |
addTagLibrary(JspLibrary library,
Project project)
|
static java.net.URL[] |
getDeployedJarFiles(Project project)
Returns list of file URLs of all JAR files that are deployed to project's WEB-INF/lib folder as part of JSP Tag Library installations. |
static java.util.Collection<java.net.URL> |
getLibraryUrls(JspLibrary lib,
Project project)
Gets the URLs of all library JARs the tag library depends on, including the JAR containing the TLD file. |
static java.util.List<JspLibrary> |
getPackagedLibraries(Project project)
Gets all JspLibraries whose corresponding TLD file is packaged in a JAR file. |
static java.util.List<java.lang.String> |
getPackagedLibrariesJarPaths(Project project)
Gets URL paths of all JAR files in the project that contain JspLibrary TLDs. |
static java.util.List<java.net.URL> |
getPackagedLibrariesJarURLs(Project project)
Gets URLs of all JAR files in the project that contain JspLibrary TLDs. |
static java.util.List<java.net.URL> |
getPackagedLibrariesURLs(Project project)
Gets URLs of all TLD files inside JARs of the project's JspLibraries. |
static java.net.URL |
getTaglibJarFileURL(java.net.URL tldLocation)
|
static java.net.URL |
getTaglibJarURL(java.net.URL tldLocation)
|
static java.util.List<JspLibrary> |
getTagLibraries(Project project)
Gets all JspLibraries available in the project. |
static java.util.List<JspLibrary> |
getTagLibraries(java.lang.String uri,
Project project)
|
static JspLibrary |
getTagLibrary(java.lang.String uri,
Project project)
|
static JspLibrary |
getTagLibrary(java.net.URL tldURL,
Project project)
|
static java.net.URL |
getTaglibURL(java.lang.String tldURL)
Returns a URL pointing to the TLD file given by the tldURL. |
static java.util.List<JspLibrary> |
getTldLibraries(Project project)
Gets all JspLibraries available in the project defined by TLD files. |
static URLPath |
removeDeployedJars(URLPath urlPath,
Project project)
Removes JAR file entries from the given URL path that have already been deployed to project's WEB-INF/lib folder. |
static void |
removeTagLibrary(JspLibrary library,
Project project)
Removing the tag library reference will not remove underlining resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Collection<java.net.URL> getLibraryUrls(JspLibrary lib, Project project)
lib
- project
- Can be null.
public static URLPath removeDeployedJars(URLPath urlPath, Project project)
urlPath
- project
-
public static java.net.URL[] getDeployedJarFiles(Project project)
project
-
public static java.util.List<java.lang.String> getPackagedLibrariesJarPaths(Project project)
project
-
public static java.util.List<java.net.URL> getPackagedLibrariesJarURLs(Project project)
project
-
public static java.util.List<java.net.URL> getPackagedLibrariesURLs(Project project)
project
-
public static java.util.List<JspLibrary> getPackagedLibraries(Project project)
project
-
public static java.util.List<JspLibrary> getTldLibraries(Project project)
project
-
public static java.util.List<JspLibrary> getTagLibraries(Project project)
project
-
public static JspLibrary getTagLibrary(java.lang.String uri, Project project)
public static java.util.List<JspLibrary> getTagLibraries(java.lang.String uri, Project project)
public static JspLibrary getTagLibrary(java.net.URL tldURL, Project project)
public void addTagLibrary(JspLibrary library, Project project)
public static void removeTagLibrary(JspLibrary library, Project project)
library
- project
- public static java.net.URL getTaglibURL(java.lang.String tldURL)
public static java.net.URL getTaglibJarURL(java.net.URL tldLocation)
tldLocation
-
public static java.net.URL getTaglibJarFileURL(java.net.URL tldLocation)
tldLocation
-
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |