Class SimpleDocumentUrlToDataSourceScanner
- java.lang.Object
-
- org.silverpeas.core.contribution.attachment.SimpleDocumentUrlToDataSourceScanner
-
- All Implemented Interfaces:
LinkUrlDataSourceScanner
@Service public class SimpleDocumentUrlToDataSourceScanner extends Object implements LinkUrlDataSourceScanner
- Author:
- silveryocha
-
-
Constructor Summary
Constructors Constructor Description SimpleDocumentUrlToDataSourceScanner()
-
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
.
-
-