public static enum TikaCoreProperties.EmbeddedResourceType extends Enum<TikaCoreProperties.EmbeddedResourceType>
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.
Enum Constant and Description |
---|
ATTACHMENT |
FONT |
INLINE |
MACRO |
METADATA |
THUMBNAIL |
Modifier and Type | Method and Description |
---|---|
static TikaCoreProperties.EmbeddedResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TikaCoreProperties.EmbeddedResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TikaCoreProperties.EmbeddedResourceType INLINE
public static final TikaCoreProperties.EmbeddedResourceType ATTACHMENT
public static final TikaCoreProperties.EmbeddedResourceType MACRO
public static final TikaCoreProperties.EmbeddedResourceType METADATA
public static final TikaCoreProperties.EmbeddedResourceType FONT
public static final TikaCoreProperties.EmbeddedResourceType THUMBNAIL
public static TikaCoreProperties.EmbeddedResourceType[] values()
for (TikaCoreProperties.EmbeddedResourceType c : TikaCoreProperties.EmbeddedResourceType.values()) System.out.println(c);
public static TikaCoreProperties.EmbeddedResourceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.