Enum TextSkipMode

  • All Implemented Interfaces:
    Flag, java.io.Serializable, java.lang.Comparable<TextSkipMode>

    public enum TextSkipMode
    extends java.lang.Enum<TextSkipMode>
    implements Flag

    Flags specifying which text to skip during OCR processing

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      KNOWN_SYMBOLIC
      Skip text of all fonts that are known to be symbolic, e.g.
      PRIVATE_USE_AREA
      Skip text with Unicodes from Private Use Areas (PUA), i.e.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.EnumSet<TextSkipMode> NONE
      Do not skip any text in text OCR processing.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static TextSkipMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static TextSkipMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • KNOWN_SYMBOLIC

        public static final TextSkipMode KNOWN_SYMBOLIC
        Skip text of all fonts that are known to be symbolic, e.g. "ZapfDingbats" or "Wingdings".
      • PRIVATE_USE_AREA

        public static final TextSkipMode PRIVATE_USE_AREA
        Skip text with Unicodes from Private Use Areas (PUA), i.e. accept Unicodes from PUA as meaningful.
    • Field Detail

      • NONE

        public static final java.util.EnumSet<TextSkipMode> NONE
        Do not skip any text in text OCR processing.
    • Method Detail

      • values

        public static TextSkipMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TextSkipMode c : TextSkipMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TextSkipMode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null