com.vaadin.server
Class ResourceReference
java.lang.Object
com.vaadin.shared.communication.URLReference
com.vaadin.server.ResourceReference
- All Implemented Interfaces:
- java.io.Serializable
public class ResourceReference
- extends com.vaadin.shared.communication.URLReference
- See Also:
- Serialized Form
Methods inherited from class com.vaadin.shared.communication.URLReference |
setURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceReference
public ResourceReference(Resource resource,
ClientConnector connector,
java.lang.String key)
getResource
public Resource getResource()
getURL
public java.lang.String getURL()
- Overrides:
getURL
in class com.vaadin.shared.communication.URLReference
encodeFileName
public static java.lang.String encodeFileName(java.lang.String filename)
create
public static ResourceReference create(Resource resource,
ClientConnector connector,
java.lang.String key)
getResource
public static Resource getResource(com.vaadin.shared.communication.URLReference reference)
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.