@FunctionalInterface public interface ClientResources extends Serializable
DefaultClientResources
is used if we are in plain Java environment
where resources may be gotten via the Class::getResourceAsStream()
(it doesn't always work out of the box since the resources are in the
different bundle).
In OSGi Environment a special service is registered which allows to get the resources.
Modifier and Type | Method and Description |
---|---|
InputStream |
getResource(String path)
Get content of the resource in the client-side module.
|
InputStream getResource(String path)
path
- the resource pathnull
if
there is no resource with the path
Copyright © 2020. All rights reserved.