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>
  • Enum Constant Details

  • Method Details

    • values

      public static IWork13PackageParser.IWork13DocumentType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null
    • detect

      public static org.apache.tika.mime.MediaType detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile)
    • detectIfPossible

      public static org.apache.tika.mime.MediaType detectIfPossible(ZipEntry entry)
      Returns:
      Specific type if this identifies one, otherwise null
    • getType

      public org.apache.tika.mime.MediaType getType()