FileTypeDetectionMode

Contents
[ ]

Inheritance: java.lang.Object, java.lang.Enum

public enum FileTypeDetectionMode extends Enum<FileTypeDetectionMode>

Defines a mode of the file type detection.

Fields

Field Description
Default The file type is detected by the file extension; if the file extension isn’t recognized, the file type is detected by the file content.
Extension The file type is detected only by the file extension.
Content The file type is detected only by the file content.

Methods

Method Description
values()
valueOf(String name)

Default

public static final FileTypeDetectionMode Default

The file type is detected by the file extension; if the file extension isn’t recognized, the file type is detected by the file content.

Extension

public static final FileTypeDetectionMode Extension

The file type is detected only by the file extension.

Content

public static final FileTypeDetectionMode Content

The file type is detected only by the file content.

values()

public static FileTypeDetectionMode[] values()

Returns: com.groupdocs.parser.options.FileTypeDetectionMode[]

valueOf(String name)

public static FileTypeDetectionMode valueOf(String name)

Parameters:

Parameter Type Description
name java.lang.String

Returns: FileTypeDetectionMode