Enum IWork13PackageParser.IWork13DocumentType
- java.lang.Object
-
- java.lang.Enum<IWork13PackageParser.IWork13DocumentType>
-
- org.apache.tika.parser.iwork.iwana.IWork13PackageParser.IWork13DocumentType
-
- All Implemented Interfaces:
Serializable
,Comparable<IWork13PackageParser.IWork13DocumentType>
- Enclosing class:
- IWork13PackageParser
public static enum IWork13PackageParser.IWork13DocumentType extends Enum<IWork13PackageParser.IWork13DocumentType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaType
detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile)
protected static MediaType
detectIfPossible(ZipEntry entry)
MediaType
getType()
static IWork13PackageParser.IWork13DocumentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IWork13PackageParser.IWork13DocumentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEYNOTE13
public static final IWork13PackageParser.IWork13DocumentType KEYNOTE13
-
NUMBERS13
public static final IWork13PackageParser.IWork13DocumentType NUMBERS13
-
PAGES13
public static final IWork13PackageParser.IWork13DocumentType PAGES13
-
UNKNOWN13
public static final IWork13PackageParser.IWork13DocumentType UNKNOWN13
-
-
Method Detail
-
values
public static IWork13PackageParser.IWork13DocumentType[] 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 (IWork13PackageParser.IWork13DocumentType c : IWork13PackageParser.IWork13DocumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IWork13PackageParser.IWork13DocumentType 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
-
getType
public MediaType getType()
-
detect
public static MediaType detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile)
-
-