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 SummaryMethods inherited from interface io.jmix.ui.component.ResourceView.HasMimeTypegetMimeType, setMimeTypeMethods inherited from interface io.jmix.ui.component.ResourceView.HasStreamSettingsgetBufferSize, 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 at- src/main/resources/com/company/app/images/image.png
- Returns:
- this ClasspathResource instance
 
- 
getPathString getPath()
 
-