Class PageParser


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

      • PageParser

        public PageParser()
    • Method Detail

      • parse

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