Package 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>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IWorkPackageParser.IWORKDocumentType
detectType(InputStream stream)
static IWorkPackageParser.IWORKDocumentType
detectType(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry, org.apache.commons.compress.archivers.zip.ZipArchiveInputStream zip)
static IWorkPackageParser.IWORKDocumentType
detectType(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry, org.apache.commons.compress.archivers.zip.ZipFile zip)
String
getNamespace()
String
getPart()
MediaType
getType()
static IWorkPackageParser.IWORKDocumentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IWorkPackageParser.IWORKDocumentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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 nameNullPointerException
- if the argument is null
-
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)
-
detectType
public static IWorkPackageParser.IWORKDocumentType detectType(InputStream stream)
-
getNamespace
public String getNamespace()
-
getPart
public String getPart()
-
getType
public MediaType getType()
-
-