Interface LinkUrlDataSourceScanner
-
- All Known Implementing Classes:
AbstractLocalhostLinkUrlDataSourceScanner,AvatarUrlToDataSourceScanner,DragAndDropWebEditorUrlToDataSourceScanner,FileServer.ImageUrlToDataSourceScanner,MailContentProcess.WysiwygCkeditorMediaLinkUrlToDataSourceScanner,SimpleDocumentUrlToDataSourceScanner
public interface LinkUrlDataSourceScannerAn implementation of this interface provides a list ofStringDataExtractor.RegexpPatternDirectiveto extract link urls from an html content represented as aStringand it provides also theDataSourceinitialization 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.
-
-