public class TldResourcePath extends Object
META-INF/taglib.tld
. Such a mapping must be explicitly converted
to a URL and entryName when using this implementation.Constructor and Description |
---|
TldResourcePath(URL url)
Constructor identifying a TLD resource directly.
|
TldResourcePath(URL url,
String entryName)
Constructor identifying a TLD packaged within a JAR file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getEntryName()
Returns the name of the JAR entry that contains the TLD.
|
URL |
getUrl()
Returns the URL of the TLD or of the JAR containing the TLD.
|
int |
hashCode() |
InputStream |
openStream()
Opens a stream to access the TLD.
|
String |
toExternalForm()
Return the external form of the URL representing this TLD.
|
public TldResourcePath(URL url)
url
- the location of the TLDpublic URL getUrl()
public String getEntryName()
public String toExternalForm()
public InputStream openStream() throws IOException
IOException
- if there was a problem opening the streamCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.