org.apache.jasper.compiler
Interface JarResource
- All Known Implementing Classes:
- JarURLResource
public interface JarResource
Method Summary |
java.net.URL |
getEntry(java.lang.String name)
|
java.util.jar.JarFile |
getJarFile()
|
java.lang.String |
getUrl()
|
getJarFile
java.util.jar.JarFile getJarFile()
throws java.io.IOException
- Returns:
- The JarFile for this resource. A new instance of JarFile
should be returned on each call.
- Throws:
java.io.IOException
getUrl
java.lang.String getUrl()
- Returns:
- The URL of this resource. May or may not point
to the actual Jar file.
getEntry
java.net.URL getEntry(java.lang.String name)
- Parameters:
name
-
- Returns:
- The URL for the entry within this resource.
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.