@Component(value="ui_UrlResource") @Scope(value="prototype") public class UrlResourceImpl extends AbstractResource implements WebResource, UrlResource
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
mimeType |
protected java.net.URL |
url |
hasSource, resource, resourceUpdateHandler| Constructor and Description |
|---|
UrlResourceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createResource() |
java.lang.String |
getMimeType() |
java.net.URL |
getUrl() |
void |
setMimeType(java.lang.String mimeType)
Sets the mime type of the resource.
|
UrlResource |
setUrl(java.net.URL url) |
fireResourceUpdateEvent, getResource, hasSource, setResourceUpdatedHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResource, hasSourcepublic UrlResource setUrl(java.net.URL url)
setUrl in interface UrlResourcepublic java.net.URL getUrl()
getUrl in interface UrlResourceprotected void createResource()
createResource in class AbstractResourcepublic void setMimeType(java.lang.String mimeType)
ResourceView.HasMimeTypesetMimeType in interface ResourceView.HasMimeTypemimeType - the MIME type to be setpublic java.lang.String getMimeType()
getMimeType in interface ResourceView.HasMimeType