Class PageRanges
- java.lang.Object
-
- com.adobe.pdfservices.operation.pdfjobs.params.PageRanges
-
public class PageRanges extends Object
Page ranges of a file, inclusive of start and end page index, where page index starts from 1.
-
-
Constructor Summary
Constructors Constructor Description PageRanges()
Constructs a new PageRanges instance with no pages added.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAll()
Adds a page range representing all pages.void
addAllFrom(int start)
Adds a page range fromstart
page index to the last page.void
addRange(int start, int end)
Adds a page range.void
addSinglePage(int page)
Adds a single page.List<com.adobe.pdfservices.operation.internal.params.PageRange>
getRanges()
Used internally by this SDK, not intended to be called by clients.boolean
isEmpty()
Used internally by this SDK, not intended to be called by clients.String
toString()
Used internally by this SDK, not intended to be called by clients.void
validate()
Used internally by this SDK, not intended to be called by clients.
-
-
-
Method Detail
-
addSinglePage
public void addSinglePage(int page)
Adds a single page. Page index starts from 1.- Parameters:
page
- single page index
-
addRange
public void addRange(int start, int end)
Adds a page range. Page indexes start from 1.- Parameters:
start
- start page index, inclusiveend
- end page index, inclusive
-
addAllFrom
public void addAllFrom(int start)
Adds a page range fromstart
page index to the last page. Page index starts from 1.- Parameters:
start
- start page index
-
addAll
public void addAll()
Adds a page range representing all pages.
-
toString
public String toString()
Used internally by this SDK, not intended to be called by clients.
-
validate
public void validate()
Used internally by this SDK, not intended to be called by clients.
-
isEmpty
public boolean isEmpty()
Used internally by this SDK, not intended to be called by clients.
-
getRanges
public List<com.adobe.pdfservices.operation.internal.params.PageRange> getRanges()
Used internally by this SDK, not intended to be called by clients.
-
-