Package org.apache.tika.metadata
Enum TikaCoreProperties.EmbeddedResourceType
java.lang.Object
java.lang.Enum<TikaCoreProperties.EmbeddedResourceType>
org.apache.tika.metadata.TikaCoreProperties.EmbeddedResourceType
- All Implemented Interfaces:
Serializable,Comparable<TikaCoreProperties.EmbeddedResourceType>,java.lang.constant.Constable
- Enclosing interface:
TikaCoreProperties
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.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, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INLINE
-
ATTACHMENT
-
MACRO
-
METADATA
-
FONT
-
THUMBNAIL
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-