Package net.webpdf.wsclient.openapi
Class OperationExtractionLinks
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationExtractionLinks
-
public class OperationExtractionLinks extends Object
Extract links from thePDF document Generates an ASCII text, XML, or JSON file that will be returned as a result when the web service is called and that will contain all selected supported links in the PDF document. Every link is written to a separate line in the ASCII file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationExtractionLinks.FileFormatEnumUsed to define the output format for the PDF document text contents being extracted
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FILE_FORMATstatic StringJSON_PROPERTY_PAGESstatic StringJSON_PROPERTY_TEXT
-
Constructor Summary
Constructors Constructor Description OperationExtractionLinks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)OperationExtractionLinksfileFormat(OperationExtractionLinks.FileFormatEnum fileFormat)@Nullable OperationExtractionLinks.FileFormatEnumgetFileFormat()Used to define the output format for the PDF document text contents being extracted@Nullable StringgetPages()Used to define which page(s) should be used for the extraction mode.@Nullable OperationTextExtractionLinksgetText()Get textinthashCode()OperationExtractionLinkspages(String pages)voidsetFileFormat(OperationExtractionLinks.FileFormatEnum fileFormat)voidsetPages(String pages)voidsetText(OperationTextExtractionLinks text)OperationExtractionLinkstext(OperationTextExtractionLinks text)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_FILE_FORMAT
public static final String JSON_PROPERTY_FILE_FORMAT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGES
public static final String JSON_PROPERTY_PAGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TEXT
public static final String JSON_PROPERTY_TEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
fileFormat
public OperationExtractionLinks fileFormat(OperationExtractionLinks.FileFormatEnum fileFormat)
-
getFileFormat
@Nullable public @Nullable OperationExtractionLinks.FileFormatEnum getFileFormat()
Used to define the output format for the PDF document text contents being extracted. * text = Text document * xml = XML document * json = JSON data structure- Returns:
- fileFormat
-
setFileFormat
public void setFileFormat(OperationExtractionLinks.FileFormatEnum fileFormat)
-
pages
public OperationExtractionLinks pages(String pages)
-
getPages
@Nullable public @Nullable String getPages()
Used to define which page(s) should be used for the extraction mode. The page number can be either an individual page, a page range, or a list (separated with commas) (e.g., \"1,5-6,9\"). A blank value or \"\\*\" selects all pages of the PDF document.- Returns:
- pages
-
setPages
public void setPages(String pages)
-
text
public OperationExtractionLinks text(OperationTextExtractionLinks text)
-
getText
@Nullable public @Nullable OperationTextExtractionLinks getText()
Get text- Returns:
- text
-
setText
public void setText(OperationTextExtractionLinks text)
-
-