Package com.mindee.v2.product.split
Class SplitRange
- java.lang.Object
-
- com.mindee.v2.product.split.SplitRange
-
public class SplitRange extends Object
A single document as identified when splitting a multi-document source file.
-
-
Field Summary
Fields Modifier and Type Field Description StringdocumentTypeThe document type, as identified on given classification values.List<Integer>pageRange0-based page indexes, where the first integer indicates the start page and the second integer indicates the end page.
-
Constructor Summary
Constructors Constructor Description SplitRange()SplitRange(List<Integer> pageRange, String documentType, ExtractionResponse extractionResponse)Creates a newSplitRangeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetDocumentType()The document type, as identified on given classification values.ExtractionResponsegetExtractionResponse()The extraction response associated with the split.List<Integer>getPageRange()0-based page indexes, where the first integer indicates the start page and the second integer indicates the end page.List<Integer>getPageRangeDistinct()Returns a list of distinct page ranges.inthashCode()
-
-
-
Constructor Detail
-
SplitRange
public SplitRange(List<Integer> pageRange, String documentType, ExtractionResponse extractionResponse)
Creates a newSplitRangeinstance.- Parameters:
pageRange- 0-based page indexes, where the first integer indicates the start page and the second integer indicates the end page.documentType- The document type, as identified on given classification values.extractionResponse- The extraction response associated with the split.
-
SplitRange
public SplitRange()
-
-
Method Detail
-
getPageRangeDistinct
public List<Integer> getPageRangeDistinct()
Returns a list of distinct page ranges. Useful for extracting pages from a document.
-
getPageRange
public List<Integer> getPageRange()
0-based page indexes, where the first integer indicates the start page and the second integer indicates the end page.
-
getDocumentType
public String getDocumentType()
The document type, as identified on given classification values.
-
getExtractionResponse
public ExtractionResponse getExtractionResponse()
The extraction response associated with the split.
-
canEqual
protected boolean canEqual(Object other)
-
-