Package 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:
Serializable
,Comparable<OfficeParser.POIFSDocumentType>
- Enclosing class:
- OfficeParser
public static enum OfficeParser.POIFSDocumentType extends Enum<OfficeParser.POIFSDocumentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMP_OBJ
DRMENCRYPTED
ENCRYPTED
GRAPH
OLE10_NATIVE
OUTLOOK
POWERPOINT
PROJECT
PUBLISHER
SOLIDWORKS_ASSEMBLY
SOLIDWORKS_DRAWING
SOLIDWORKS_PART
UNKNOWN
VISIO
WORDDOCUMENT
WORKBOOK
WORKS
XLR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OfficeParser.POIFSDocumentType
detectType(org.apache.poi.poifs.filesystem.DirectoryEntry node)
static OfficeParser.POIFSDocumentType
detectType(org.apache.poi.poifs.filesystem.POIFSFileSystem fs)
String
getExtension()
MediaType
getType()
static OfficeParser.POIFSDocumentType
valueOf(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.
-
-
-
Enum Constant Detail
-
WORKBOOK
public static final OfficeParser.POIFSDocumentType WORKBOOK
-
OLE10_NATIVE
public static final OfficeParser.POIFSDocumentType OLE10_NATIVE
-
COMP_OBJ
public static final OfficeParser.POIFSDocumentType COMP_OBJ
-
WORDDOCUMENT
public static final OfficeParser.POIFSDocumentType WORDDOCUMENT
-
UNKNOWN
public static final OfficeParser.POIFSDocumentType UNKNOWN
-
DRMENCRYPTED
public static final OfficeParser.POIFSDocumentType DRMENCRYPTED
-
ENCRYPTED
public static final OfficeParser.POIFSDocumentType ENCRYPTED
-
POWERPOINT
public static final OfficeParser.POIFSDocumentType POWERPOINT
-
PUBLISHER
public static final OfficeParser.POIFSDocumentType PUBLISHER
-
PROJECT
public static final OfficeParser.POIFSDocumentType PROJECT
-
VISIO
public static final OfficeParser.POIFSDocumentType VISIO
-
WORKS
public static final OfficeParser.POIFSDocumentType WORKS
-
XLR
public static final OfficeParser.POIFSDocumentType XLR
-
OUTLOOK
public static final OfficeParser.POIFSDocumentType OUTLOOK
-
SOLIDWORKS_PART
public static final OfficeParser.POIFSDocumentType SOLIDWORKS_PART
-
SOLIDWORKS_ASSEMBLY
public static final OfficeParser.POIFSDocumentType SOLIDWORKS_ASSEMBLY
-
SOLIDWORKS_DRAWING
public static final OfficeParser.POIFSDocumentType SOLIDWORKS_DRAWING
-
GRAPH
public static final OfficeParser.POIFSDocumentType GRAPH
-
-
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(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 nameNullPointerException
- if the argument is null
-
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)
-
getExtension
public String getExtension()
-
getType
public MediaType getType()
-
-