org.apache.tika.parser.iwork
Enum IWorkPackageParser.IWORKDocumentType
java.lang.Object
java.lang.Enum<IWorkPackageParser.IWORKDocumentType>
org.apache.tika.parser.iwork.IWorkPackageParser.IWORKDocumentType
- All Implemented Interfaces:
- Serializable, Comparable<IWorkPackageParser.IWORKDocumentType>
- Enclosing class:
- IWorkPackageParser
public static enum IWorkPackageParser.IWORKDocumentType
- extends Enum<IWorkPackageParser.IWORKDocumentType>
KEYNOTE
public static final IWorkPackageParser.IWORKDocumentType KEYNOTE
NUMBERS
public static final IWorkPackageParser.IWORKDocumentType NUMBERS
PAGES
public static final IWorkPackageParser.IWORKDocumentType PAGES
ENCRYPTED
public static final IWorkPackageParser.IWORKDocumentType ENCRYPTED
values
public static IWorkPackageParser.IWORKDocumentType[] 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 (IWorkPackageParser.IWORKDocumentType c : IWorkPackageParser.IWORKDocumentType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IWorkPackageParser.IWORKDocumentType 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.)
- 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 name
NullPointerException
- if the argument is null
getNamespace
public String getNamespace()
getPart
public String getPart()
getType
public MediaType getType()
detectType
public static IWorkPackageParser.IWORKDocumentType detectType(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry,
org.apache.commons.compress.archivers.zip.ZipFile zip)
detectType
public static IWorkPackageParser.IWORKDocumentType detectType(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry,
org.apache.commons.compress.archivers.zip.ZipArchiveInputStream zip)
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.