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.
A VERSION is an earlier version of the file as in incremental updates.
The initial use case for this is incremental updates in PDFs, but
it could be applied to other file formats as well where earlier versions
are recoverable. See also PDF.INCREMENTAL_UPDATE_NUMBER
Not all parsers have yet implemented this.
| Enum Constant and Description |
|---|
ALTERNATE_FORMAT_CHUNK |
ATTACHMENT |
FONT |
INLINE |
MACRO |
METADATA |
RENDERING |
THUMBNAIL |
VERSION |
| 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 final TikaCoreProperties.EmbeddedResourceType RENDERING
public static final TikaCoreProperties.EmbeddedResourceType VERSION
public static final TikaCoreProperties.EmbeddedResourceType ALTERNATE_FORMAT_CHUNK
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–2024 The Apache Software Foundation. All rights reserved.