Enum IWork18PackageParser.IWork18DocumentType

java.lang.Object
java.lang.Enum<IWork18PackageParser.IWork18DocumentType>
org.apache.tika.parser.iwork.iwana.IWork18PackageParser.IWork18DocumentType
All Implemented Interfaces:
Serializable, Comparable<IWork18PackageParser.IWork18DocumentType>, java.lang.constant.Constable
Enclosing class:
IWork18PackageParser

public static enum IWork18PackageParser.IWork18DocumentType extends Enum<IWork18PackageParser.IWork18DocumentType>
  • Enum Constant Details

  • Method Details

    • values

      public static IWork18PackageParser.IWork18DocumentType[] 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 IWork18PackageParser.IWork18DocumentType 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 MediaType detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile)
      Parameters:
      zipFile -
      Returns:
      mime if detected or null
    • detectIfPossible

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

      public MediaType getType()