Package com.dynamicpdf.api
Class PdfText
java.lang.Object
com.dynamicpdf.api.Endpoint
com.dynamicpdf.api.PdfText
Represents the pdf text endpoint.
- 
Constructor Summary
ConstructorsConstructorDescriptionPdfText(PdfResource resource)Initializes a new instance of thePdfTextclass.PdfText(PdfResource resource, int startPage, int pageCount)Initializes a new instance of thePdfTextclass. - 
Method Summary
Modifier and TypeMethodDescriptionintGets the page count.intGets the start page.process()Process the pdf resource to get pdf's text.Process the pdf resource to get pdf's text.voidsetPageCount(int value)Sets the page count.voidsetStartPage(int value)Sets the start page.Methods inherited from class com.dynamicpdf.api.Endpoint
createRequestSpecification, getApiKey, getBaseUrl, getDefaultApiKey, getDefaultBaseUrl, setApiKey, setBaseUrl, setDefaultApiKey, setDefaultBaseUrl 
- 
Constructor Details
- 
PdfText
Initializes a new instance of thePdfTextclass.- Parameters:
 resource- The image resource of typePdfResourcestartPage- The start page.pageCount- The page count.
 - 
PdfText
Initializes a new instance of thePdfTextclass.- Parameters:
 resource- The image resource of typePdfResource
 
 - 
 - 
Method Details
- 
getStartPage
public int getStartPage()Gets the start page.- Returns:
 - The start page.
 
 - 
setStartPage
public void setStartPage(int value)Sets the start page.- Parameters:
 value- The start page.
 - 
getPageCount
public int getPageCount()Gets the page count.- Returns:
 - The page count.
 
 - 
setPageCount
public void setPageCount(int value)Sets the page count.- Parameters:
 value- The page count.
 - 
process
Process the pdf resource to get pdf's text.PdfTextResponse
- Returns:
 - Pdf Text Response
 
 - 
processAsync
Process the pdf resource to get pdf's text.- Returns:
 - collection of 
PdfTextResponseas multithreading tasksCompletableFuture. 
 
 -