@EndGreaterThenOrEqualToStart public class PageRange extends Object implements PagesSelection
| Constructor and Description |
|---|
PageRange(int start)
Creates a page range that starts at the given page and ends when the document ends.
|
PageRange(int start,
int end)
Creates a page range that goes from start to end (comprehended).
|
public PageRange(int start,
int end)
start - end - public PageRange(int start)
start - public int getStart()
public int getEnd()
public boolean isUnbounded()
public boolean intersects(PageRange range)
range - true if the input range intersect this PageRange instance.public SortedSet<Integer> getPages(int totalNumberOfPage)
getPages in interface PagesSelectiontotalNumberOfPage - the number of pages of the document (upper limit).PagesSelection.getPages(int)Copyright © 2015. All Rights Reserved.