|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.wms.client.ResourceURL
public class ResourceURL
A URL with MIME type.
Field Summary | |
---|---|
protected String |
typeMIME
URL MIME type. |
protected String |
URL
The URL string. |
Constructor Summary | |
---|---|
protected |
ResourceURL()
Instantiates an object of ResourceURL. |
|
ResourceURL(String format,
String url)
Instantiates an object of ResourceURL with the given format and URL. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Compares the specified object with this instance for equality. |
InputStream |
getAsStream(RequestHandler handler)
Gets the resource as stream. |
String |
getMIMEType()
Gets the MIME type of the URL. |
String |
getURL()
Gets the resource URL as a string. |
int |
hashCode()
Returns the hash code of the request object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String typeMIME
protected String URL
Constructor Detail |
---|
protected ResourceURL()
public ResourceURL(String format, String url)
Method Detail |
---|
public String getMIMEType()
public String getURL()
public InputStream getAsStream(RequestHandler handler) throws IOException
handler
- is the RequestHandler used for connection.
IOException
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- object to be compared for equality with this instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |