org.apache.tika.parser.microsoft
Enum OfficeParser.POIFSDocumentType

java.lang.Object
  extended by java.lang.Enum<OfficeParser.POIFSDocumentType>
      extended by org.apache.tika.parser.microsoft.OfficeParser.POIFSDocumentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OfficeParser.POIFSDocumentType>
Enclosing class:
OfficeParser

public static enum OfficeParser.POIFSDocumentType
extends java.lang.Enum<OfficeParser.POIFSDocumentType>


Enum Constant Summary
ENCRYPTED
           
OLE10_NATIVE
           
OUTLOOK
           
POWERPOINT
           
PUBLISHER
           
UNKNOWN
           
VISIO
           
WORDDOCUMENT
           
WORKBOOK
           
WORKS
           
 
Method Summary
static OfficeParser.POIFSDocumentType detectType(org.apache.poi.poifs.filesystem.DirectoryEntry node)
           
static OfficeParser.POIFSDocumentType detectType(org.apache.poi.poifs.filesystem.Entry entry)
           
static OfficeParser.POIFSDocumentType detectType(org.apache.poi.poifs.filesystem.POIFSFileSystem fs)
           
 java.lang.String getExtension()
           
 MediaType getType()
           
static OfficeParser.POIFSDocumentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OfficeParser.POIFSDocumentType[] 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

WORKBOOK

public static final OfficeParser.POIFSDocumentType WORKBOOK

OLE10_NATIVE

public static final OfficeParser.POIFSDocumentType OLE10_NATIVE

WORDDOCUMENT

public static final OfficeParser.POIFSDocumentType WORDDOCUMENT

UNKNOWN

public static final OfficeParser.POIFSDocumentType UNKNOWN

ENCRYPTED

public static final OfficeParser.POIFSDocumentType ENCRYPTED

POWERPOINT

public static final OfficeParser.POIFSDocumentType POWERPOINT

PUBLISHER

public static final OfficeParser.POIFSDocumentType PUBLISHER

VISIO

public static final OfficeParser.POIFSDocumentType VISIO

WORKS

public static final OfficeParser.POIFSDocumentType WORKS

OUTLOOK

public static final OfficeParser.POIFSDocumentType OUTLOOK
Method Detail

values

public static OfficeParser.POIFSDocumentType[] 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 (OfficeParser.POIFSDocumentType c : OfficeParser.POIFSDocumentType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OfficeParser.POIFSDocumentType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getExtension

public java.lang.String getExtension()

getType

public MediaType getType()

detectType

public static OfficeParser.POIFSDocumentType detectType(org.apache.poi.poifs.filesystem.POIFSFileSystem fs)

detectType

public static OfficeParser.POIFSDocumentType detectType(org.apache.poi.poifs.filesystem.DirectoryEntry node)

detectType

public static OfficeParser.POIFSDocumentType detectType(org.apache.poi.poifs.filesystem.Entry entry)


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.