org.apache.tika.parser.microsoft
Enum OfficeParser.POIFSDocumentType
java.lang.Object
java.lang.Enum<OfficeParser.POIFSDocumentType>
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>
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 |
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
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.