Enum TikaCoreProperties.EmbeddedResourceType

  • All Implemented Interfaces:
    Serializable, Comparable<TikaCoreProperties.EmbeddedResourceType>
    Enclosing interface:

    public static enum TikaCoreProperties.EmbeddedResourceType
    extends Enum<TikaCoreProperties.EmbeddedResourceType>
    A file might contain different types of embedded documents. The most common is the ATTACHMENT.

    An INLINE embedded resource should be used for embedded image files that are used to render the page image (as in PDXObjImages in PDF files).

    A MACRO is code that is embedded in the document and is intended to be executable within the application that opens the document. This includes traditional macros within Microsoft Office files and javascript within PDFActions. This would not include, e.g., an .exe file embedded in a .zip file.

    Not all parsers have yet implemented this.

    • Method Detail

      • values

        public static TikaCoreProperties.EmbeddedResourceType[] 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 (TikaCoreProperties.EmbeddedResourceType c : TikaCoreProperties.EmbeddedResourceType.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TikaCoreProperties.EmbeddedResourceType valueOf​(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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null