|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.engine.UrlResource
public class UrlResource
Packages an URL resource together with additional data that
can't be stored in the URL instance itself.
| Constructor Summary | |
|---|---|
UrlResource(URL url,
String sourceName)
Creates a new UrlResource instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
String |
getSourceName()
Retrieves the source name that was used to look up the resource. |
URL |
getUrl()
Retrieves the URL of the resource. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlResource(URL url,
String sourceName)
UrlResource instance.
url - the URL of the resourcesourceName - the source name that was used to look up the resource| Method Detail |
|---|
public URL getUrl()
public String getSourceName()
public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||