Enum Class PDFParser.Ability

java.lang.Object
java.lang.Enum<PDFParser.Ability>
org.jpedal.tika.PDFParser.Ability
All Implemented Interfaces:
Serializable, Comparable<PDFParser.Ability>, Constable
Enclosing class:
PDFParser

public static enum PDFParser.Ability extends Enum<PDFParser.Ability>
An enum containing the abilities of the parser.
  • Enum Constant Details

    • UNSTRUCTURED_TEXT

      public static final PDFParser.Ability UNSTRUCTURED_TEXT
      Extract the plain text of each page, with each page in its own p element.
    • STRUCTURED_TEXT

      public static final PDFParser.Ability STRUCTURED_TEXT
      Extract the document's structured text content as an XML string.
    • IMAGE_METADATA

      public static final PDFParser.Ability IMAGE_METADATA
      Extract the bounding box coordinates of each image, grouped by page.
  • Method Details

    • values

      public static PDFParser.Ability[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PDFParser.Ability valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null