protected static class LookupInitializer.ResourceProviderImpl extends Object implements ResourceProvider
ResourceProvider.| Constructor and Description |
|---|
ResourceProviderImpl()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
URL |
getApplicationResource(VaadinContext context,
String path)
Gets the web application resource identified by the
path using
the provided context. |
List<URL> |
getApplicationResources(VaadinContext context,
String path)
Gets all the web application resources identified by the
path
using the provided context. |
URL |
getClientResource(String path)
Gets "flow-client" bundle resource identified by the
path. |
InputStream |
getClientResourceAsStream(String path)
Gets "flow-client" bundle resource content identified by the
path. |
public List<URL> getApplicationResources(VaadinContext context, String path) throws IOException
ResourceProviderpath
using the provided context.getApplicationResources in interface ResourceProvidercontext - a context objectpath - the resource pathIOException - if there is an I/O errorpublic URL getApplicationResource(VaadinContext context, String path)
ResourceProviderpath using
the provided context.getApplicationResource in interface ResourceProvidercontext - a context objectpath - the resource pathnullpublic URL getClientResource(String path)
ResourceProviderpath.getClientResource in interface ResourceProviderpath - the resource pathnullpublic InputStream getClientResourceAsStream(String path) throws IOException
ResourceProviderpath.getClientResourceAsStream in interface ResourceProviderpath - the resource pathnullIOException - If there is an I/O error.Copyright © 2025. All rights reserved.