public class

Constants

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.utils.Constants

Class Overview

A utility classes that contains constant values

Summary

Constants
int FILE_TYPE_DOC The file is a document
int FILE_TYPE_IMAGE The file is an image
int FILE_TYPE_PDF The file is a PDF
int FILE_TYPE_TEXT The file is a text file or markdown file
Fields
public static final String[] ALL_FILE_MIME_TYPES All supported file meme types
public static final String[] ALL_GOOGLE_DOCS_TYPES Google docs file meme types
public static final String[] ALL_NONPDF_FILETYPES_WILDCARD The file extension is not PDF
public static final String[] FILE_EXTENSIONS_TEXT The file extension is a text file
public static final String[] FILE_NAME_EXTENSIONS_DOC The file extension is a document
public static final String[] FILE_NAME_EXTENSIONS_IMAGE The file extension is image
public static final String[] FILE_NAME_EXTENSIONS_OFFICE The file extension is an office document
public static final String[] FILE_NAME_EXTENSIONS_OTHERS The file extension is supported through non-streaming conversion
public static final String[] FILE_NAME_EXTENSIONS_PDF The file extension is pdf
public static final String[] FILE_NAME_EXTENSIONS_VALID The file extension is valid
public static final String[] IMAGE_FILE_MIME_TYPES Image file meme types
public static final String[] OFFICE_FILE_MIME_TYPES Office file meme types
Public Constructors
Constants()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int FILE_TYPE_DOC

The file is a document

Constant Value: 1 (0x00000001)

public static final int FILE_TYPE_IMAGE

The file is an image

Constant Value: 2 (0x00000002)

public static final int FILE_TYPE_PDF

The file is a PDF

Constant Value: 0 (0x00000000)

public static final int FILE_TYPE_TEXT

The file is a text file or markdown file

Constant Value: 3 (0x00000003)

Fields

public static final String[] ALL_FILE_MIME_TYPES

All supported file meme types

public static final String[] ALL_GOOGLE_DOCS_TYPES

Google docs file meme types

public static final String[] ALL_NONPDF_FILETYPES_WILDCARD

The file extension is not PDF

public static final String[] FILE_EXTENSIONS_TEXT

The file extension is a text file

public static final String[] FILE_NAME_EXTENSIONS_DOC

The file extension is a document

public static final String[] FILE_NAME_EXTENSIONS_IMAGE

The file extension is image

public static final String[] FILE_NAME_EXTENSIONS_OFFICE

The file extension is an office document

public static final String[] FILE_NAME_EXTENSIONS_OTHERS

The file extension is supported through non-streaming conversion

public static final String[] FILE_NAME_EXTENSIONS_PDF

The file extension is pdf

public static final String[] FILE_NAME_EXTENSIONS_VALID

The file extension is valid

public static final String[] IMAGE_FILE_MIME_TYPES

Image file meme types

public static final String[] OFFICE_FILE_MIME_TYPES

Office file meme types

Public Constructors

public Constants ()