Class PageParser


  • public class PageParser
    extends Object
    Parses pages
    Author:
    Michel Kraemer
    • Constructor Detail

      • PageParser

        public PageParser()
    • Method Detail

      • parse

        public static PageRanges parse​(String pages)
        Parses a given page or range of pages. If the given string cannot be parsed, the method will return a single page range with a literal string.
        Parameters:
        pages - the page or range of pages
        Returns:
        the parsed page or page ranges (never null and never empty)