public abstract class Features extends Object
An instance of this class is used as Parser.getFeatures()
property. See the usage examples there.
Learn more:
Constructor and Description |
---|
Features() |
Modifier and Type | Method and Description |
---|---|
boolean |
isBarcodes()
Gets the value that indicates whether barcodes extraction is supported.
|
boolean |
isContainer()
Gets the value that indicates whether container extraction is supported.
|
abstract boolean |
isFeatureSupported(String featureName)
Returns the value that indicates whether the feature is supported.
|
boolean |
isFormattedText()
Gets the value that indicates whether formatted text extraction is supported.
|
boolean |
isFormattedTextPage()
Gets the value that indicates whether formatted text page extraction is supported.
|
boolean |
isHighlight()
Gets the value that indicates whether highlight extraction is supported.
|
boolean |
isHyperlinks()
Gets the value that indicates whether hyperlinks extraction is supported.
|
boolean |
isImages()
Gets the value that indicates whether images extraction is supported.
|
boolean |
isMetadata()
Gets the value that indicates whether metadata extraction is supported.
|
boolean |
isOcr()
Gets the value that indicates whether OCR functionality is supported.
|
boolean |
isParseByTemplate()
Gets the value that indicates whether parsing by template is supported.
|
boolean |
isParseForm()
Gets the value that indicates whether form parsing is supported.
|
boolean |
isPreview()
Gets the value that indicates whether preview generation is supported.
|
boolean |
isSearch()
Gets the value that indicates whether text search is supported.
|
boolean |
isStructure()
Gets the value that indicates whether text structure extraction is supported.
|
boolean |
isTables()
Gets the value that indicates whether tables extraction is supported.
|
boolean |
isText()
Gets the value that indicates whether text extraction is supported.
|
boolean |
isTextAreas()
Gets the value that indicates whether text areas extraction is supported.
|
boolean |
isTextPage()
Gets the value that indicates whether text page extraction is supported.
|
boolean |
isToc()
Gets the value that indicates whether table of contents extraction is supported.
|
public abstract boolean isFeatureSupported(String featureName)
featureName
- The feature name.true
if the feature is supported; otherwise, false
.public boolean isText()
true
if text extraction is supported; otherwise, false
.public boolean isTextPage()
true
if text page extraction is supported; otherwise, false
.public boolean isFormattedText()
true
if formatted text extraction is supported; otherwise, false
.public boolean isFormattedTextPage()
true
if formatted text page is supported; otherwise, false
.public boolean isSearch()
true
if text search is supported; otherwise, false
.public boolean isHighlight()
true
if highlight extraction is supported; otherwise, false
.public boolean isBarcodes()
true
if barcodes extraction is supported; otherwise, false
.public boolean isToc()
true
if table of contents extraction is supported; otherwise, false
.public boolean isMetadata()
true
if metadata extraction is supported; otherwise, false
.public boolean isContainer()
true
if container extraction is supported; otherwise, false
.public boolean isTextAreas()
true
if text areas extraction is supported; otherwise, false
.public boolean isStructure()
true
if text structure extraction is supported; otherwise, false
.public boolean isImages()
true
if images extraction is supported; otherwise, false
.public boolean isHyperlinks()
true
if hyperlinks extraction is supported; otherwise, false
.public boolean isTables()
true
if tables extraction is supported; otherwise, false
.public boolean isParseByTemplate()
true
if parsing by template is supported; otherwise, false
.public boolean isParseForm()
true
if form parsing is supported; otherwise, false
.public boolean isPreview()
true
if preview generation is supported; otherwise, false
.public boolean isOcr()
true
if OCR functionality is supported; otherwise, false
.