Interface EstimatedReadTimeService
- All Known Implementing Classes:
DefaultEstimatedReadTimeService
public interface EstimatedReadTimeService
Service for calculating the read time for a given page/blog
-
Method Summary
Modifier and TypeMethodDescriptionint
getReadTime
(String xhtmlContent) Calculate the read time in minutes for the given content
-
Method Details
-
getReadTime
Calculate the read time in minutes for the given content- Parameters:
xhtmlContent
- the page content string stored in db- Returns:
- estimated time in minutes to read the given content
-