Interface LinkUrlDataSourceScanner
-
- All Known Implementing Classes:
AbstractLocalhostLinkUrlDataSourceScanner
,AvatarUrlToDataSourceScanner
,DragAndDropWebEditorUrlToDataSourceScanner
,FileServer.ImageUrlToDataSourceScanner
,MailContentProcess.WysiwygCkeditorMediaLinkUrlToDataSourceScanner
,SimpleDocumentUrlToDataSourceScanner
public interface LinkUrlDataSourceScanner
An implementation of this interface provides a list ofStringDataExtractor.RegexpPatternDirective
to extract link urls from an html content represented as aString
and it provides also theDataSource
initialization according to an extracted link.- Author:
- silveryocha
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Map<String,String>
extractUrlParameters(String url)
static List<LinkUrlDataSourceScanner>
getAll()
List<LinkUrlDataSource>
scanHtml(String htmlContent)
Scans the given html content to extract the link url and provide relatedDataSource
.
-
-
-
Method Detail
-
getAll
static List<LinkUrlDataSourceScanner> getAll()
-
scanHtml
List<LinkUrlDataSource> scanHtml(String htmlContent)
Scans the given html content to extract the link url and provide relatedDataSource
.- Parameters:
htmlContent
- the HTML content to scan.- Returns:
- list of
LinkUrlDataSource
.
-
-