FileFormatType

Inheritance: java.lang.Object

public final class FileFormatType

Represents the file format types.

Fields

FieldDescription
BMPRepresents a BMP file.
CSVComma-Separated Values(CSV) text file.
DIFData Interchange Format.
DOCRepresents a doc file.
DOCMRepresents a docm file.
DOCXRepresents a docx file.
DOTMRepresents a dotm file.
DOTXRepresents a dotx file.
EMFWindows Enhanced Metafile.
EPUBEPUB
EXCEL_2Represents an Excel2.1 xls file.
EXCEL_3Represents an Excel3.0 xls file.
EXCEL_4Represents an Excel4.0 xls file.
EXCEL_95Represents an Excel95 xls file.
EXCEL_97_TO_2003Excel97-2003 spreadsheet file.
FODSRepresents OpenDocument Flat XML Spreadsheet (.fods) file format.
GIFGif
GRAPH_CHARTRepresents embedded graph chart.
G_ZIPRrepesents GZip file.
HTMLHTML format.
JPGJPEG JFIF.
JSONJson
MAPI_MESSAGERepresents a email file.
MARKDOWNRepresents markdown document.
MICROSOFT_CABINET/// Rrepesents Microsoft Cabinet file.
MS_EQUATIONRepresents the MS Equation 3.0 object.
M_HTMLMHTML (Web archive) format.
NUMBERSRepresents Numbers 9.0 file format by Apple Inc.
NUMBERS_09Represents Numbers 9.0 file format by Apple Inc.
NUMBERS_35Represents Numbers 3.5 file format since 2014 by Apple Inc
ODFRepresents an ODF file.
ODGRepresents an ODG file.
ODPRepresents a ODP file.
ODSOpen Document Sheet(ODS) file.
ODTRepresents an ODT file.
OLE_10_NATIVERepresents the embedded native object.
ONE_NOTERrepesents One Note file.
OOXMLRepresents office open xml file(such as xlsx, docx,pptx, etc).
OTPRepresents a OTP file.
OTSRepresents an ots file.
OTTRepresents an OTT file.
OXPSOXPS (Open XML Paper Specification) format.
PDFPDF (Adobe Portable Document) format.
PNGPortable Network Graphics.
POTMRepresents a Potm file.
POTXRepresents a Potx file.
PPSMRepresents a ppsm file.
PPSXRepresents a ppsx file.
PPTRepresents a ppt file.
PPTMRepresents a pptm file.
PPTXRepresents a pptx file.
RTF
SPREADSHEET_MLExcel 2003 XML Data file.
SQL_SCRIPTSql
SVGSVG file.
SXCRepresents StarOffice Calc Spreadsheet (.sxc) file format.
TAB_DELIMITEDTab-Separated Values(TSV) text file, same with LoadFormat.TSV.
TIFFRepresents a TIFF file.
TSVTab-Separated Values(TSV) text file.
UNKNOWNRepresents unrecognized format, cannot be loaded.
VSDRepresents MS Visio VSD binary format.
VSDXRepresents MS Visio 2013 VSDX file format.
WMFWindows Metafile.
XLAMOffice Open XML SpreadsheetML addinMacro-Enabled file.
XLSBThe Excel Binary File Format (.xlsb)
XLSMOffice Open XML SpreadsheetML Macro-Enabled file.
XLSXOffice Open XML SpreadsheetML file (macro-free).
XLTExcel97-2003 spreadsheet template.
XLTMOffice Open XML SpreadsheetML Macro-Enabled Template.
XLTXOffice Open XML SpreadsheetML Template (macro-free).
XMLRepresents a simple xml file.
XPSXPS (XML Paper Specification) format.
X_HTMLRrepesents XHtml file.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

BMP

public static final int BMP

Represents a BMP file.

Remarks

The file format is not supported Only for detecting file type.

CSV

public static final int CSV

Comma-Separated Values(CSV) text file.

DIF

public static final int DIF

Data Interchange Format.

DOC

public static final int DOC

Represents a doc file.

Remarks

The file format is not supported Only for detecting file type.

DOCM

public static final int DOCM

Represents a docm file.

Remarks

The file format is not supported Only for detecting file type.

DOCX

public static final int DOCX

Represents a docx file.

Remarks

The file format is not supported Only for detecting file type.

DOTM

public static final int DOTM

Represents a dotm file.

Remarks

The file format is not supported Only for detecting file type.

DOTX

public static final int DOTX

Represents a dotx file.

Remarks

The file format is not supported Only for detecting file type.

EMF

public static final int EMF

Windows Enhanced Metafile.

EPUB

public static final int EPUB

EPUB

EXCEL_2

public static final int EXCEL_2

Represents an Excel2.1 xls file.

Remarks

The file format is not supported

EXCEL_3

public static final int EXCEL_3

Represents an Excel3.0 xls file.

Remarks

The file format is not supported

EXCEL_4

public static final int EXCEL_4

Represents an Excel4.0 xls file.

Remarks

The file format is not supported

EXCEL_95

public static final int EXCEL_95

Represents an Excel95 xls file.

EXCEL_97_TO_2003

public static final int EXCEL_97_TO_2003

Excel97-2003 spreadsheet file.

FODS

public static final int FODS

Represents OpenDocument Flat XML Spreadsheet (.fods) file format.

GIF

public static final int GIF

Gif

GRAPH_CHART

public static final int GRAPH_CHART

Represents embedded graph chart.

G_ZIP

public static final int G_ZIP

Rrepesents GZip file.

Remarks

The file format is not supported Only for detecting file type.

HTML

public static final int HTML

HTML format.

JPG

public static final int JPG

JPEG JFIF.

JSON

public static final int JSON

Json

MAPI_MESSAGE

public static final int MAPI_MESSAGE

Represents a email file.

Remarks

The file format is not supported Only for detecting file type.

MARKDOWN

public static final int MARKDOWN

Represents markdown document.

MICROSOFT_CABINET

public static final int MICROSOFT_CABINET

/// Rrepesents Microsoft Cabinet file. The file format is not supported Only for detecting file type.

MS_EQUATION

public static final int MS_EQUATION

Represents the MS Equation 3.0 object.

Remarks

The file format is not supported Only for detecting file type.

M_HTML

public static final int M_HTML

MHTML (Web archive) format.

NUMBERS

public static final int NUMBERS

Represents Numbers 9.0 file format by Apple Inc.

Remarks

NOTE: This member is now obsolete. Instead, please use NUMBERS_09 property. This property will be removed 6 months later since June 2023. Aspose apologizes for any inconvenience you may have experienced.

NUMBERS_09

public static final int NUMBERS_09

Represents Numbers 9.0 file format by Apple Inc.

NUMBERS_35

public static final int NUMBERS_35

Represents Numbers 3.5 file format since 2014 by Apple Inc

ODF

public static final int ODF

Represents an ODF file.

Remarks

The file format is not supported Only for detecting file type.

ODG

public static final int ODG

Represents an ODG file.

Remarks

The file format is not supported Only for detecting file type.

ODP

public static final int ODP

Represents a ODP file.

Remarks

The file format is not supported Only for detecting file type.

ODS

public static final int ODS

Open Document Sheet(ODS) file.

ODT

public static final int ODT

Represents an ODT file.

Remarks

The file format is not supported Only for detecting file type.

OLE_10_NATIVE

public static final int OLE_10_NATIVE

Represents the embedded native object.

Remarks

The file format is not supported Only for detecting file type.

ONE_NOTE

public static final int ONE_NOTE

Rrepesents One Note file.

Remarks

The file format is not supported Only for detecting file type.

OOXML

public static final int OOXML

Represents office open xml file(such as xlsx, docx,pptx, etc).

Remarks

The file format is not supported Only for detecting file type. If the office open xml file is encrypted, it could not be detected as xlsx ,docx, pptx,etc.

OTP

public static final int OTP

Represents a OTP file.

Remarks

The file format is not supported. Only for detecting file type.

OTS

public static final int OTS

Represents an ots file.

OTT

public static final int OTT

Represents an OTT file.

Remarks

The file format is not supported Only for detecting file type.

OXPS

public static final int OXPS

OXPS (Open XML Paper Specification) format.

PDF

public static final int PDF

PDF (Adobe Portable Document) format.

PNG

public static final int PNG

Portable Network Graphics.

POTM

public static final int POTM

Represents a Potm file.

Remarks

The file format is not supported Only for detecting file type.

POTX

public static final int POTX

Represents a Potx file.

Remarks

The file format is not supported Only for detecting file type.

PPSM

public static final int PPSM

Represents a ppsm file.

Remarks

The file format is not supported Only for detecting file type.

PPSX

public static final int PPSX

Represents a ppsx file.

Remarks

The file format is not supported Only for detecting file type.

PPT

public static final int PPT

Represents a ppt file.

Remarks

The file format is not supported Only for detecting file type.

PPTM

public static final int PPTM

Represents a pptm file.

Remarks

The file format is not supported Only for detecting file type.

PPTX

public static final int PPTX

Represents a pptx file.

Remarks

The file format is not supported Only for detecting file type.

RTF

public static final int RTF

SPREADSHEET_ML

public static final int SPREADSHEET_ML

Excel 2003 XML Data file.

SQL_SCRIPT

public static final int SQL_SCRIPT

Sql

SVG

public static final int SVG

SVG file.

SXC

public static final int SXC

Represents StarOffice Calc Spreadsheet (.sxc) file format.

TAB_DELIMITED

public static final int TAB_DELIMITED

Tab-Separated Values(TSV) text file, same with LoadFormat.TSV.

TIFF

public static final int TIFF

Represents a TIFF file.

TSV

public static final int TSV

Tab-Separated Values(TSV) text file.

UNKNOWN

public static final int UNKNOWN

Represents unrecognized format, cannot be loaded.

VSD

public static final int VSD

Represents MS Visio VSD binary format.

Remarks

The file format is not supported Only for detecting file type.

VSDX

public static final int VSDX

Represents MS Visio 2013 VSDX file format.

Remarks

The file format is not supported Only for detecting file type.

WMF

public static final int WMF

Windows Metafile.

XLAM

public static final int XLAM

Office Open XML SpreadsheetML addinMacro-Enabled file.

XLSB

public static final int XLSB

The Excel Binary File Format (.xlsb)

XLSM

public static final int XLSM

Office Open XML SpreadsheetML Macro-Enabled file.

XLSX

public static final int XLSX

Office Open XML SpreadsheetML file (macro-free).

XLT

public static final int XLT

Excel97-2003 spreadsheet template.

XLTM

public static final int XLTM

Office Open XML SpreadsheetML Macro-Enabled Template.

XLTX

public static final int XLTX

Office Open XML SpreadsheetML Template (macro-free).

XML

public static final int XML

Represents a simple xml file.

Remarks

The file format is not supported Only for detecting file type.

XPS

public static final int XPS

XPS (XML Paper Specification) format.

X_HTML

public static final int X_HTML

Rrepesents XHtml file.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int