We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.client.
Class DefaultClientResources
- java.lang.Object
-
- com.vaadin.flow.client.DefaultClientResources
-
All Implemented Interfaces:
public final class DefaultClientResources extends Object implements ClientResources
Default implementation for
ClientResources
service which returns the client-side resources via the plain JavaClass.getResourceAsStream(String)
method.Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor and Description DefaultClientResources()
-
-
-
Method Detail
-
getResource
public InputStream getResource(String path)
Description copied from interface:
ClientResources
Get content of the resource in the client-side module.
Specified by:
getResource
in interfaceClientResources
Parameters:
path
- the resource pathReturns:
the content of the resource as InputStream or
null
if there is no resource with thepath
-
-