public class ImageProvider extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageProvider.ImageType
Expected format.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addImageToContext(org.thymeleaf.context.WebContext ctx,
String imageName,
ImageProvider.ImageType type)
Public interface to add images to webcontext for rendering.
|
static ImageProvider |
getInstance()
Singleton.
|
public static ImageProvider getInstance()
public void addImageToContext(org.thymeleaf.context.WebContext ctx,
String imageName,
ImageProvider.ImageType type)
ctx - thymeleaf contextimageName - current image nametype - current image typeCopyright © 2013–2019 FF4J. All rights reserved.