com.vaadin.terminal.gwt.server
Class ResourceReference

java.lang.Object
  extended by com.vaadin.terminal.gwt.client.communication.URLReference
      extended by com.vaadin.terminal.gwt.server.ResourceReference
All Implemented Interfaces:
Serializable

public class ResourceReference
extends URLReference

See Also:
Serialized Form

Constructor Summary
ResourceReference(Resource resource)
           
 
Method Summary
 Resource getResource()
           
 String getURL()
          Returns the URL that this object refers to.
 
Methods inherited from class com.vaadin.terminal.gwt.client.communication.URLReference
setURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceReference

public ResourceReference(Resource resource)
Method Detail

getResource

public Resource getResource()

getURL

public String getURL()
Description copied from class: URLReference
Returns the URL that this object refers to.

Note that the URL can use special protocols like theme://

Overrides:
getURL in class URLReference
Returns:
The URL for this reference or null if unknown.


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.