|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.terminal.ExternalResource
public class ExternalResource
ExternalResource implements source for resources fetched from
location specified by URL:s. The resources are fetched directly by the client
terminal and are not fetched trough the terminal adapter.
| Constructor Summary | |
|---|---|
ExternalResource(String sourceURL)
Creates a new download component for downloading directly from given URL. |
|
ExternalResource(String sourceURL,
String mimeType)
Creates a new download component for downloading directly from given URL. |
|
ExternalResource(URL sourceURL)
Creates a new download component for downloading directly from given URL. |
|
ExternalResource(URL sourceURL,
String mimeType)
Creates a new download component for downloading directly from given URL. |
|
| Method Summary | |
|---|---|
String |
getMIMEType()
Gets the MIME type of the resource. |
String |
getURL()
Gets the URL of the external resource. |
void |
setMIMEType(String mimeType)
Sets the MIME type of the resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalResource(URL sourceURL)
sourceURL - the source URL.
public ExternalResource(URL sourceURL,
String mimeType)
sourceURL - the source URL.mimeType - the MIME Typepublic ExternalResource(String sourceURL)
sourceURL - the source URL.
public ExternalResource(String sourceURL,
String mimeType)
sourceURL - the source URL.mimeType - the MIME Type| Method Detail |
|---|
public String getURL()
public String getMIMEType()
getMIMEType in interface ResourceResource.getMIMEType()public void setMIMEType(String mimeType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||