Interface TemplateImageResolver
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultImageResolver
Interface contract for the conversion of file name to a fully qualified icon image path for use by templating and scripting engines executing within the repository context.
Generally this contract will be implemented by classes that have access to say the webserver context which can be used to generate an icon image for a specific filename.
- Author:
- Kevin Roast
-
Method Summary
Modifier and TypeMethodDescriptionresolveImagePathForName(String filename, FileTypeImageSize size) Resolve the qualified icon image path for the specified filename
-
Method Details
-
resolveImagePathForName
Resolve the qualified icon image path for the specified filename- Parameters:
filename- The file name to resolve image path forsize- Enum representing the size of the image to retrieve- Returns:
- image path for the specified filename and image size
-