public final class DefaultClientResources extends Object implements ClientResources
ClientResources service which returns the
client-side resources via the plain Java
Class.getResourceAsStream(String) method.| Constructor and Description |
|---|
DefaultClientResources() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getResource(String path)
Get content of the resource in the client-side module.
|
public InputStream getResource(String path)
ClientResourcesgetResource in interface ClientResourcespath - the resource pathnull if
there is no resource with the pathCopyright © 2000–2019 Vaadin Ltd. All rights reserved.