public static enum OfficeParser.POIFSDocumentType extends Enum<OfficeParser.POIFSDocumentType>
Enum Constant and Description |
---|
COMP_OBJ |
ENCRYPTED |
GRAPH |
OLE10_NATIVE |
OUTLOOK |
POWERPOINT |
PROJECT |
PUBLISHER |
SOLIDWORKS_ASSEMBLY |
SOLIDWORKS_DRAWING |
SOLIDWORKS_PART |
UNKNOWN |
VISIO |
WORDDOCUMENT |
WORKBOOK |
WORKS |
XLR |
Modifier and Type | Method and 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.
|
public static final OfficeParser.POIFSDocumentType WORKBOOK
public static final OfficeParser.POIFSDocumentType OLE10_NATIVE
public static final OfficeParser.POIFSDocumentType COMP_OBJ
public static final OfficeParser.POIFSDocumentType WORDDOCUMENT
public static final OfficeParser.POIFSDocumentType UNKNOWN
public static final OfficeParser.POIFSDocumentType ENCRYPTED
public static final OfficeParser.POIFSDocumentType POWERPOINT
public static final OfficeParser.POIFSDocumentType PUBLISHER
public static final OfficeParser.POIFSDocumentType PROJECT
public static final OfficeParser.POIFSDocumentType VISIO
public static final OfficeParser.POIFSDocumentType WORKS
public static final OfficeParser.POIFSDocumentType XLR
public static final OfficeParser.POIFSDocumentType OUTLOOK
public static final OfficeParser.POIFSDocumentType SOLIDWORKS_PART
public static final OfficeParser.POIFSDocumentType SOLIDWORKS_ASSEMBLY
public static final OfficeParser.POIFSDocumentType SOLIDWORKS_DRAWING
public static final OfficeParser.POIFSDocumentType GRAPH
public static OfficeParser.POIFSDocumentType[] values()
for (OfficeParser.POIFSDocumentType c : OfficeParser.POIFSDocumentType.values()) System.out.println(c);
public static OfficeParser.POIFSDocumentType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static OfficeParser.POIFSDocumentType detectType(org.apache.poi.poifs.filesystem.POIFSFileSystem fs)
public static OfficeParser.POIFSDocumentType detectType(org.apache.poi.poifs.filesystem.DirectoryEntry node)
public String getExtension()
public MediaType getType()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.