Package io.jmix.ui.component
Interface ClasspathResource
- All Superinterfaces:
Resource
,ResourceView.HasMimeType
,ResourceView.HasStreamSettings
- All Known Implementing Classes:
ClasspathResourceImpl
public interface ClasspathResource
extends Resource, ResourceView.HasMimeType, ResourceView.HasStreamSettings
A resource that is located in classpath.
- See Also:
-
Method Summary
Methods inherited from interface io.jmix.ui.component.ResourceView.HasMimeType
getMimeType, setMimeType
Methods inherited from interface io.jmix.ui.component.ResourceView.HasStreamSettings
getBufferSize, getCacheTime, getFileName, setBufferSize, setCacheTime, setFileName
-
Method Details
-
setPath
- Parameters:
path
- relative path to the resource, e.g. "/com/company/app/images/image.png" for a resource located atsrc/main/resources/com/company/app/images/image.png
- Returns:
- this ClasspathResource instance
-
getPath
String getPath()
-