Package io.jmix.ui.component
Interface RelativePathResource
- All Superinterfaces:
Resource
,ResourceView.HasMimeType
- All Known Implementing Classes:
RelativePathResourceImpl
A static resource that is served by the application.
By default, static content is served from
/static
, /public
, /resources
, or /META-INF/resources
directories of the classpath.- See Also:
-
Method Summary
Methods inherited from interface io.jmix.ui.component.ResourceView.HasMimeType
getMimeType, setMimeType
-
Method Details
-
setPath
- Parameters:
path
- relative path to the resource, e.g. "images/image.png" for a resource located atsrc/main/resources/static/images/image.png
- Returns:
- this RelativePathResource instance
-
getPath
String getPath()
-