Package 

Class ReadingTime

    • Constructor Detail

      • ReadingTime

        ReadingTime(String text, Integer wpm, String postfix, String plural, Boolean excludeImages, Integer extra, RoundingMode roundingMode)
        Constructs a new ReadingTime object.
        Parameters:
        text - The text to be evaluated.
        wpm - The words per minute reading average.
        postfix - The value to be appended to the reading time.
        plural - The value to be appended if the reading time is more than 1 minute.
        excludeImages - Images are excluded from the reading time when set.
        extra - Additional seconds to be added to the total reading time.
        roundingMode - The RoundingMode to apply.
      • ReadingTime

        ReadingTime(String text, Integer wpm, String postfix, String plural, Boolean excludeImages, Integer extra)
        Constructs a new ReadingTime object.
        Parameters:
        text - The text to be evaluated.
        wpm - The words per minute reading average.
        postfix - The value to be appended to the reading time.
        plural - The value to be appended if the reading time is more than 1 minute.
        excludeImages - Images are excluded from the reading time when set.
        extra - Additional seconds to be added to the total reading time.
      • ReadingTime

        ReadingTime(String text, Integer wpm, String postfix, String plural, Boolean excludeImages)
        Constructs a new ReadingTime object.
        Parameters:
        text - The text to be evaluated.
        wpm - The words per minute reading average.
        postfix - The value to be appended to the reading time.
        plural - The value to be appended if the reading time is more than 1 minute.
        excludeImages - Images are excluded from the reading time when set.
      • ReadingTime

        ReadingTime(String text, Integer wpm, String postfix, String plural)
        Constructs a new ReadingTime object.
        Parameters:
        text - The text to be evaluated.
        wpm - The words per minute reading average.
        postfix - The value to be appended to the reading time.
        plural - The value to be appended if the reading time is more than 1 minute.
      • ReadingTime

        ReadingTime(String text, Integer wpm, String postfix)
        Constructs a new ReadingTime object.
        Parameters:
        text - The text to be evaluated.
        wpm - The words per minute reading average.
        postfix - The value to be appended to the reading time.
      • ReadingTime

        ReadingTime(String text, Integer wpm)
        Constructs a new ReadingTime object.
        Parameters:
        text - The text to be evaluated.
        wpm - The words per minute reading average.
      • ReadingTime

        ReadingTime(String text)
        Constructs a new ReadingTime object.
        Parameters:
        text - The text to be evaluated.