Package org.silverpeas.web.servlets
Class FileServer.ImageUrlAccordingToHtmlSizeDirectiveTranslator
- java.lang.Object
-
- org.silverpeas.core.contribution.content.wysiwyg.service.directive.ImageUrlAccordingToHtmlSizeDirective.SrcWithSizeParametersTranslator
-
- org.silverpeas.web.servlets.FileServer.ImageUrlAccordingToHtmlSizeDirectiveTranslator
-
- All Implemented Interfaces:
ImageUrlAccordingToHtmlSizeDirective.SrcTranslator
- Enclosing class:
- FileServer
@Singleton public static class FileServer.ImageUrlAccordingToHtmlSizeDirectiveTranslator extends ImageUrlAccordingToHtmlSizeDirective.SrcWithSizeParametersTranslator
-
-
Constructor Summary
Constructors Constructor Description ImageUrlAccordingToHtmlSizeDirectiveTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCompliantUrl(String url)
Indicates if the given URL is compliant with the current implementation.-
Methods inherited from class org.silverpeas.core.contribution.content.wysiwyg.service.directive.ImageUrlAccordingToHtmlSizeDirective.SrcWithSizeParametersTranslator
translateUrl
-
-
-
-
Method Detail
-
isCompliantUrl
public boolean isCompliantUrl(String url)
Description copied from interface:ImageUrlAccordingToHtmlSizeDirective.SrcTranslator
Indicates if the given URL is compliant with the current implementation.- Parameters:
url
- the URL to verify.- Returns:
- true if compliant, false otherwise.
-
-