Package org.silverpeas.web.servlets
Class FileServer.ImageUrlToDataSourceScanner
- java.lang.Object
-
- org.silverpeas.web.servlets.FileServer.ImageUrlToDataSourceScanner
-
- All Implemented Interfaces:
LinkUrlDataSourceScanner
- Enclosing class:
- FileServer
@Singleton public static class FileServer.ImageUrlToDataSourceScanner extends Object implements LinkUrlDataSourceScanner
-
-
Constructor Summary
Constructors Constructor Description ImageUrlToDataSourceScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LinkUrlDataSource>
scanHtml(String htmlContent)
Scans the given html content to extract the link url and provide relatedDataSource
.
-
-
-
Method Detail
-
scanHtml
public List<LinkUrlDataSource> scanHtml(String htmlContent)
Description copied from interface:LinkUrlDataSourceScanner
Scans the given html content to extract the link url and provide relatedDataSource
.- Specified by:
scanHtml
in interfaceLinkUrlDataSourceScanner
- Parameters:
htmlContent
- the HTML content to scan.- Returns:
- list of
LinkUrlDataSource
.
-
-