com.groupdocs.viewer.domain
Class DocumentType
java.lang.Object
com.groupdocs.viewer.domain.DocumentType
public class DocumentType
- extends Object
Document Type
- Author:
- Alex Bobkov
Method Summary |
static String |
getDocumentType(FileType fileType)
Create a map of supported file formats and document types
Used to display corresponding file icons in file browser popup |
static String |
getDocumentType(String key)
Create a map of supported file formats and document types
Used to display corresponding file icons in file browser popup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WORDS
public static final String WORDS
- See Also:
- Constant Field Values
PDF
public static final String PDF
- See Also:
- Constant Field Values
SLIDES
public static final String SLIDES
- See Also:
- Constant Field Values
CELLS
public static final String CELLS
- See Also:
- Constant Field Values
IMAGE
public static final String IMAGE
- See Also:
- Constant Field Values
EMAIL
public static final String EMAIL
- See Also:
- Constant Field Values
DIAGRAM
public static final String DIAGRAM
- See Also:
- Constant Field Values
PROJECT
public static final String PROJECT
- See Also:
- Constant Field Values
UNKNOWN
public static final String UNKNOWN
- See Also:
- Constant Field Values
XPS
public static final String XPS
- See Also:
- Constant Field Values
DocumentType
public DocumentType()
getDocumentType
public static String getDocumentType(String key)
- Create a map of supported file formats and document types
Used to display corresponding file icons in file browser popup
- Parameters:
key
- File extention (ex: doc, pdf)
- Returns:
- Document type string
getDocumentType
public static String getDocumentType(FileType fileType)
- Create a map of supported file formats and document types
Used to display corresponding file icons in file browser popup
- Parameters:
fileType
- file type
- Returns:
- Document type string
Copyright © 2015. All rights reserved.