Class ImageLinkProcessor
- java.lang.Object
-
- net.anotheria.anosite.content.variables.XLinkProcessor
-
- net.anotheria.anosite.content.variables.ImageLinkProcessor
-
- All Implemented Interfaces:
VariablesProcessor
public class ImageLinkProcessor extends XLinkProcessor
Processor for images uploaded via IASResourceDataService.- Author:
- lrosenberg
-
-
Field Summary
-
Fields inherited from class net.anotheria.anosite.content.variables.XLinkProcessor
SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description ImageLinkProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetFileName(String variable)Returns the filename corresponding with the variable.protected StringgetResourcePath(String contextPath)Returns URL part with context path and mapping to proper servlet.-
Methods inherited from class net.anotheria.anosite.content.variables.XLinkProcessor
getLog, getResourceServletMappingConfiguration, replace
-
-
-
-
Method Detail
-
getResourcePath
protected String getResourcePath(String contextPath)
Description copied from class:XLinkProcessorReturns URL part with context path and mapping to proper servlet. Path will contains all required parts - for resource reach viaResourceServlet.- Specified by:
getResourcePathin classXLinkProcessor- Parameters:
contextPath- request context path- Returns:
- string
-
getFileName
protected String getFileName(String variable)
Description copied from class:XLinkProcessorReturns the filename corresponding with the variable.- Specified by:
getFileNamein classXLinkProcessor- Parameters:
variable- var itself- Returns:
- file name
-
-