com.groupdocs.parser.options

Class Features



  • public abstract class Features
    extends Object
    Represents the supported features list. Allows to obtain information which features are supported or not for the document.

    An instance of this class is used as Parser.getFeatures() property. See the usage examples there.

    Learn more:

    • Constructor Summary

      Constructors 
      Constructor and Description
      Features() 
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      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.
    • Constructor Detail

      • Features

        public Features()
    • Method Detail

      • isFeatureSupported

        public abstract boolean isFeatureSupported(String featureName)
        Returns the value that indicates whether the feature is supported.
        Parameters:
        featureName - The feature name.
        Returns:
        true if the feature is supported; otherwise, false.
      • isText

        public boolean isText()
        Gets the value that indicates whether text extraction is supported.
        Returns:
        true if text extraction is supported; otherwise, false.
      • isTextPage

        public boolean isTextPage()
        Gets the value that indicates whether text page extraction is supported.
        Returns:
        true if text page extraction is supported; otherwise, false.
      • isFormattedText

        public boolean isFormattedText()
        Gets the value that indicates whether formatted text extraction is supported.
        Returns:
        true if formatted text extraction is supported; otherwise, false.
      • isFormattedTextPage

        public boolean isFormattedTextPage()
        Gets the value that indicates whether formatted text page extraction is supported.
        Returns:
        true if formatted text page is supported; otherwise, false.
      • isSearch

        public boolean isSearch()
        Gets the value that indicates whether text search is supported.
        Returns:
        true if text search is supported; otherwise, false.
      • isHighlight

        public boolean isHighlight()
        Gets the value that indicates whether highlight extraction is supported.
        Returns:
        true if highlight extraction is supported; otherwise, false.
      • isBarcodes

        public boolean isBarcodes()
        Gets the value that indicates whether barcodes extraction is supported.
        Returns:
        true if barcodes extraction is supported; otherwise, false.
      • isToc

        public boolean isToc()
        Gets the value that indicates whether table of contents extraction is supported.
        Returns:
        true if table of contents extraction is supported; otherwise, false.
      • isMetadata

        public boolean isMetadata()
        Gets the value that indicates whether metadata extraction is supported.
        Returns:
        true if metadata extraction is supported; otherwise, false.
      • isContainer

        public boolean isContainer()
        Gets the value that indicates whether container extraction is supported.
        Returns:
        true if container extraction is supported; otherwise, false.
      • isTextAreas

        public boolean isTextAreas()
        Gets the value that indicates whether text areas extraction is supported.
        Returns:
        true if text areas extraction is supported; otherwise, false.
      • isStructure

        public boolean isStructure()
        Gets the value that indicates whether text structure extraction is supported.
        Returns:
        true if text structure extraction is supported; otherwise, false.
      • isImages

        public boolean isImages()
        Gets the value that indicates whether images extraction is supported.
        Returns:
        true if images extraction is supported; otherwise, false.
      • isHyperlinks

        public boolean isHyperlinks()
        Gets the value that indicates whether hyperlinks extraction is supported.
        Returns:
        true if hyperlinks extraction is supported; otherwise, false.
      • isTables

        public boolean isTables()
        Gets the value that indicates whether tables extraction is supported.
        Returns:
        true if tables extraction is supported; otherwise, false.
      • isParseByTemplate

        public boolean isParseByTemplate()
        Gets the value that indicates whether parsing by template is supported.
        Returns:
        true if parsing by template is supported; otherwise, false.
      • isParseForm

        public boolean isParseForm()
        Gets the value that indicates whether form parsing is supported.
        Returns:
        true if form parsing is supported; otherwise, false.
      • isPreview

        public boolean isPreview()
        Gets the value that indicates whether preview generation is supported.
        Returns:
        true if preview generation is supported; otherwise, false.
      • isOcr

        public boolean isOcr()
        Gets the value that indicates whether OCR functionality is supported.
        Returns:
        true if OCR functionality is supported; otherwise, false.