org.apache.tika.parser.iwork
Enum IWorkPackageParser.IWORKDocumentType

java.lang.Object
  extended by java.lang.Enum<IWorkPackageParser.IWORKDocumentType>
      extended by 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>


Enum Constant Summary
ENCRYPTED
           
KEYNOTE
           
NUMBERS
           
PAGES
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 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.