public class DocumentTypeFormat extends Object
The document type format
Modifier and Type | Field and Description |
---|---|
static String |
APPLE_MAIL
Define Apple Mail documents.
|
static String |
CAD_DRAWING_FILE_FORMAT
Define CAD Drawing File Format documents.
|
static String |
COMMA_SEPARATED_VALUES
Define Comma-Separated Values documents.
|
static String |
DICOM_DRAWING_FILE_FORMAT
Define Digital Imaging and Communications in Medicine documents.
|
static String |
ELECTRONIC_PUBLICATION
Define Electronic publication documents.
|
static String |
EXTENSIBLE_MARKUP_LANGUAGE
Define Extensible Markup Language documents.
|
static String |
HYPERTEXT_MARKUP_LANGUAGE
Define HyperText Markup Language documents.
|
static String |
IMAGE_FILES
Define Image files documents.
|
static String |
LATEX
Define LaTeX Scientific documents.
|
static String |
MICROSOFT_EXCEL
Define Microsoft Excel documents.
|
static String |
MICROSOFT_ONENOTE
Define Microsoft OneNote documents.
|
static String |
MICROSOFT_OUTLOOK
Define Microsoft Outlook documents.
|
static String |
MICROSOFT_POWERPOINT
Define Microsoft PowerPoint documents.
|
static String |
MICROSOFT_PROJECT
Define Microsoft Project documents.
|
static String |
MICROSOFT_VISIO
Microsoft Visio documents.
|
static String |
MICROSOFT_WORD
Define Microsoft Word documents.
|
static String |
MOBIPOCKET
Define Mobipocket e-book format.
|
static String |
OPENDOCUMENT_FORMATS
Define OpenDocument Formats documents.
|
static String |
PLAIN_TEXT_FILE
Define Plain Text File documents.
|
static String |
PORTABLE_DOCUMENT_FORMAT
Define Portable Document Format documents.
|
static String |
RICH_TEXT_FORMAT
Define Rich Text Format documents.
|
static String |
UNKNOWN
Define unknown documents.
|
static String |
WINDOWS_ICON
Define Windows Icon documents.
|
static String |
WINDOWS_METAFILE
Define Windows Icon documents.
|
static String |
XML_PAPER_SPECIFICATION
Define XML Paper Specification documents.
|
Constructor and Description |
---|
DocumentTypeFormat() |
Modifier and Type | Method and Description |
---|---|
static String |
getDocumentTypeFormat(String extension)
Return document type format
|
static Map<String,String> |
getFileTypesByDocumentTypeFormats()
Gets file types by document type formats.
|
public static final String PORTABLE_DOCUMENT_FORMAT
Define Portable Document Format documents. Include the following file types: pdf.
public static final String MICROSOFT_WORD
Define Microsoft Word documents. Include the following file types: doc, docx, docm, dot, dotx, dotm.
public static final String MOBIPOCKET
Define Mobipocket e-book format. Include the following file types: mobi.
public static final String MICROSOFT_EXCEL
Define Microsoft Excel documents. Include the following file types: xls, xlsx, xlsm, xlsb.
public static final String MICROSOFT_POWERPOINT
Define Microsoft PowerPoint documents. Include the following file types: ppt, pptx, pps, ppsx.
public static final String MICROSOFT_VISIO
Microsoft Visio documents. Include the following file types: vsd, vdx, vss, vsx, vst, vtx, vsdx, vdw, vssx, vstx.
public static final String MICROSOFT_PROJECT
Define Microsoft Project documents. Include the following file types: mpp, mpt.
public static final String MICROSOFT_OUTLOOK
Define Microsoft Outlook documents. Include the following file types: msg, eml.
public static final String MICROSOFT_ONENOTE
Define Microsoft OneNote documents. Include the following file types: one.
public static final String APPLE_MAIL
Define Apple Mail documents. Include the following file types: emlx.
public static final String OPENDOCUMENT_FORMATS
Define OpenDocument Formats documents. Include the following file types: odt, ott, ods, odt, otp, ots.
public static final String RICH_TEXT_FORMAT
Define Rich Text Format documents. Include the following file types: rtf.
public static final String PLAIN_TEXT_FILE
Define Plain Text File documents. Include the following file types: txt.
public static final String COMMA_SEPARATED_VALUES
Define Comma-Separated Values documents. Include the following file types: csv.
public static final String HYPERTEXT_MARKUP_LANGUAGE
Define HyperText Markup Language documents. Include the following file types: html, mht.
public static final String EXTENSIBLE_MARKUP_LANGUAGE
Define Extensible Markup Language documents. Include the following file types: xml.
public static final String XML_PAPER_SPECIFICATION
Define XML Paper Specification documents. Include the following file types: xps.
public static final String CAD_DRAWING_FILE_FORMAT
Define CAD Drawing File Format documents. Include the following file types: dxf, dwg.
public static final String DICOM_DRAWING_FILE_FORMAT
Define Digital Imaging and Communications in Medicine documents. Include the following file types: dcm.
public static final String IMAGE_FILES
Define Image files documents. Include the following file types: bmp, gif, jpg, jpeg, png, tiff, djvu, webp.
public static final String ELECTRONIC_PUBLICATION
Define Electronic publication documents. Include the following file types: epub.
public static final String WINDOWS_ICON
Define Windows Icon documents. Include the following file types: ico.
public static final String WINDOWS_METAFILE
Define Windows Icon documents. Include the following file types: wmf, emf.
public static final String LATEX
Define LaTeX Scientific documents. Include the following file types: tex.
public static final String UNKNOWN
Define unknown documents.
public static String getDocumentTypeFormat(String extension)
Return document type format
extension
- File extension.PORTABLE_DOCUMENT_FORMAT
, MICROSOFT_WORD
, MICROSOFT_EXCEL
, MICROSOFT_POWERPOINT
, MICROSOFT_VISIO
,
MICROSOFT_PROJECT
, MICROSOFT_OUTLOOK
, OPENDOCUMENT_FORMATS
, RICH_TEXT_FORMAT
, PLAIN_TEXT_FILE
,
COMMA_SEPARATED_VALUES
, HYPERTEXT_MARKUP_LANGUAGE
, EXTENSIBLE_MARKUP_LANGUAGE
, XML_PAPER_SPECIFICATION
,
IMAGE_FILES
, ELECTRONIC_PUBLICATION
, WINDOWS_ICON
or UNKNOWN
Copyright © 2018. All rights reserved.